Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002139/0.002139, allocations: 203.2 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 225.5 MB / 234.4 MB, free: 3.434 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009837/0.0009836, allocations: 93.84 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2514/0.2514, allocations: 45.14 MB / 383.4 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2835/0.535, allocations: 69.35 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.6711, allocations: 63.25 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4557/1.127, allocations: 88.63 MB / 0.5904 GB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/1.127, allocations: 65.78 kB / 0.5905 GB, free: 14.16 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.03256/1.16, allocations: 9.136 MB / 0.5994 GB, free: 6.641 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.16, allocations: 8 kB / 0.5994 GB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/1.16, allocations: 58.03 kB / 0.5995 GB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/1.16, allocations: 301.5 kB / 0.5998 GB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/1.161, allocations: 16 kB / 0.5998 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-05/1.161, allocations: 28 kB / 0.5998 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007155/1.161, allocations: 282.6 kB / 0.6001 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008173/1.162, allocations: 355.5 kB / 0.6004 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.249e-05/1.162, allocations: 10.64 kB / 0.6004 GB, free: 5.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/1.162, allocations: 0 / 0.6004 GB, free: 5.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/1.162, allocations: 12 kB / 0.6004 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/1.164, allocations: 1.07 MB / 0.6015 GB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/1.165, allocations: 277.2 kB / 0.6017 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004281/1.166, allocations: 197.5 kB / 0.6019 GB, free: 4.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/1.166, allocations: 8.438 kB / 0.6019 GB, free: 4.492 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/1.166, allocations: 40.42 kB / 0.602 GB, free: 4.449 MB / 394.7 MB Notification: Performance of pre-optimization done (n=62): time 2.976e-06/1.166, allocations: 0 / 0.602 GB, free: 4.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.003492/1.169, allocations: 1.807 MB / 0.6037 GB, free: 2.727 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/1.169, allocations: 85.61 kB / 0.6038 GB, free: 2.625 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/1.17, allocations: 193.3 kB / 0.604 GB, free: 2.457 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/1.17, allocations: 29.69 kB / 0.604 GB, free: 2.422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/1.17, allocations: 190.7 kB / 0.6042 GB, free: 2.246 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/1.17, allocations: 256.2 kB / 0.6045 GB, free: 2.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/1.17, allocations: 3.938 kB / 0.6045 GB, free: 2.023 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/1.17, allocations: 356 kB / 0.6048 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/1.171, allocations: 130.8 kB / 0.6049 GB, free: 1.605 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/1.171, allocations: 248.4 kB / 0.6052 GB, free: 1.395 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/1.171, allocations: 175.8 kB / 0.6053 GB, free: 1.281 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.171, allocations: 0 / 0.6053 GB, free: 1.281 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00107/1.172, allocations: 490.8 kB / 0.6058 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/1.173, allocations: 4 kB / 0.6058 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.173, allocations: 4 kB / 0.6058 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/1.173, allocations: 8 kB / 0.6058 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009695/1.174, allocations: 195.5 kB / 0.606 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/1.174, allocations: 11.94 kB / 0.606 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/1.174, allocations: 4 kB / 0.606 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/1.174, allocations: 23.75 kB / 0.606 GB, free: 0.668 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001432/1.174, allocations: 120.7 kB / 0.6062 GB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/1.174, allocations: 47.42 kB / 0.6062 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/1.174, allocations: 46.44 kB / 0.6062 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/1.175, allocations: 12 kB / 0.6063 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/1.175, allocations: 0 / 0.6063 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/1.175, allocations: 3.984 kB / 0.6063 GB, free: 476 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/1.177, allocations: 1.31 MB / 0.6075 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.177, allocations: 0 / 0.6075 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/1.178, allocations: 166.7 kB / 0.6077 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-05/1.178, allocations: 8 kB / 0.6077 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/1.178, allocations: 4 kB / 0.6077 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.62e-05/1.178, allocations: 15.88 kB / 0.6077 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.178, allocations: 352 / 0.6077 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001573/1.18, allocations: 0.982 MB / 0.6087 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002024/1.182, allocations: 1.534 MB / 0.6102 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/1.182, allocations: 112.6 kB / 0.6103 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.06e-05/1.182, allocations: 7.984 kB / 0.6103 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/1.183, allocations: 4 kB / 0.6103 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/1.183, allocations: 51.59 kB / 0.6103 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/1.183, allocations: 19.25 kB / 0.6104 GB, free: 12.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001803/1.183, allocations: 157 kB / 0.6105 GB, free: 12.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001852/1.185, allocations: 116 kB / 0.6106 GB, free: 12.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002092/1.185, allocations: 122.7 kB / 0.6107 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008727/1.186, allocations: 410.3 kB / 0.6111 GB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.186, allocations: 0 / 0.6111 GB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004098/1.186, allocations: 213.2 kB / 0.6113 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009365/1.187, allocations: 91.77 kB / 0.6114 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/1.191, allocations: 1.488 MB / 0.6129 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000753/1.191, allocations: 0.9249 MB / 0.6138 GB, free: 9.246 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/1.191, allocations: 0 / 0.6138 GB, free: 9.246 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat