Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 185.1 kB / 7.8 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009459/0.000946, allocations: 94.28 kB / 261.4 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2255/0.2255, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2304/0.456, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.7952, allocations: 58.83 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.9126, allocations: 86.44 MB / 0.5499 GB, free: 12.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.9128, allocations: 71.45 kB / 0.55 GB, free: 12.4 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.02233/0.9352, allocations: 8.89 MB / 0.5586 GB, free: 3.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.9352, allocations: 8 kB / 0.5586 GB, free: 3.422 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.937e-05/0.9353, allocations: 55.34 kB / 0.5587 GB, free: 3.367 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.9356, allocations: 289.3 kB / 0.559 GB, free: 3.043 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.9357, allocations: 16 kB / 0.559 GB, free: 3.027 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.9357, allocations: 36 kB / 0.559 GB, free: 2.992 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004509/0.9362, allocations: 273.9 kB / 0.5593 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005147/0.9367, allocations: 356.2 kB / 0.5596 GB, free: 2.355 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.9368, allocations: 7.906 kB / 0.5596 GB, free: 2.348 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.9368, allocations: 0 / 0.5596 GB, free: 2.348 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.9368, allocations: 15.94 kB / 0.5596 GB, free: 2.332 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.9383, allocations: 1.076 MB / 0.5607 GB, free: 1.219 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.9387, allocations: 277.2 kB / 0.561 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.939, allocations: 205.8 kB / 0.5612 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.939, allocations: 8.422 kB / 0.5612 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.9391, allocations: 39 kB / 0.5612 GB, free: 0.668 MB / 394.7 MB Notification: Performance of pre-optimization done (n=62): time 1.833e-06/0.9391, allocations: 0 / 0.5612 GB, free: 0.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.00222/0.9413, allocations: 1.797 MB / 0.563 GB, free: 14.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.9414, allocations: 97.53 kB / 0.5631 GB, free: 14.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.9415, allocations: 193 kB / 0.5632 GB, free: 14.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.9415, allocations: 25.7 kB / 0.5633 GB, free: 14.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.9416, allocations: 188.8 kB / 0.5634 GB, free: 14.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.9418, allocations: 260.2 kB / 0.5637 GB, free: 13.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/0.9418, allocations: 0 / 0.5637 GB, free: 13.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.9419, allocations: 354.7 kB / 0.564 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.9421, allocations: 133.5 kB / 0.5642 GB, free: 13.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.9424, allocations: 245.2 kB / 0.5644 GB, free: 13.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.9427, allocations: 179 kB / 0.5646 GB, free: 12.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.9427, allocations: 4 kB / 0.5646 GB, free: 12.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0006488/0.9433, allocations: 491.5 kB / 0.565 GB, free: 12.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.9433, allocations: 8.031 kB / 0.565 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.9434, allocations: 7.984 kB / 0.565 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.9434, allocations: 4 kB / 0.5651 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/0.944, allocations: 191.7 kB / 0.5652 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.944, allocations: 4 kB / 0.5652 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.9442, allocations: 12.06 kB / 0.5652 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.9443, allocations: 24 kB / 0.5653 GB, free: 12.24 MB / 410.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 8.61e-05/0.9444, allocations: 120.8 kB / 0.5654 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.9445, allocations: 51.44 kB / 0.5654 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.227e-05/0.9446, allocations: 43.62 kB / 0.5655 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.9446, allocations: 11.98 kB / 0.5655 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.9446, allocations: 0 / 0.5655 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.9446, allocations: 0 / 0.5655 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.9461, allocations: 1.306 MB / 0.5668 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.9462, allocations: 4 kB / 0.5668 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000666/0.9468, allocations: 164.1 kB / 0.5669 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.9469, allocations: 8 kB / 0.5669 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.9469, allocations: 12 kB / 0.5669 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.9469, allocations: 4 kB / 0.5669 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.9469, allocations: 7.938 kB / 0.567 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008911/0.9478, allocations: 0.9779 MB / 0.5679 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001181/0.949, allocations: 1.53 MB / 0.5694 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.9491, allocations: 120.6 kB / 0.5695 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.844e-05/0.9492, allocations: 11.98 kB / 0.5695 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.9494, allocations: 7.938 kB / 0.5695 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.9495, allocations: 48.28 kB / 0.5696 GB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.9495, allocations: 20 kB / 0.5696 GB, free: 7.422 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.562e-05/0.9496, allocations: 145.2 kB / 0.5697 GB, free: 7.285 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009818/0.9506, allocations: 124 kB / 0.5699 GB, free: 7.164 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.0001226/0.9508, allocations: 107.2 kB / 0.57 GB, free: 7.051 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005441/0.9513, allocations: 413.4 kB / 0.5704 GB, free: 6.641 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9513, allocations: 0 / 0.5704 GB, free: 6.641 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.9516, allocations: 210.3 kB / 0.5706 GB, free: 6.438 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005755/0.9521, allocations: 92.83 kB / 0.5706 GB, free: 6.352 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.9542, allocations: 1.478 MB / 0.5721 GB, free: 4.809 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004624/0.9546, allocations: 0.9332 MB / 0.573 GB, free: 3.844 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.9546, allocations: 0 / 0.573 GB, free: 3.844 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat