Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 170.1 kB / 8.514 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 221.4 MB / 230.3 MB, free: 7.629 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009805/0.0009805, allocations: 86.23 kB / 281.2 MB, free: 5.445 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1821/0.1821, allocations: 44.15 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2273/0.4095, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.5348, allocations: 61.91 MB / 0.4942 GB, free: 1.504 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3956/0.9304, allocations: 87.56 MB / 0.5797 GB, free: 9.133 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.9308, allocations: 75.94 kB / 0.5798 GB, free: 9.059 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.03955/0.9704, allocations: 9.071 MB / 0.5886 GB, free: 15.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.9704, allocations: 17.19 kB / 0.5886 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.9706, allocations: 55.34 kB / 0.5887 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/0.9712, allocations: 293.3 kB / 0.589 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.9713, allocations: 19.91 kB / 0.589 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.9714, allocations: 36 kB / 0.589 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008835/0.9723, allocations: 277.8 kB / 0.5893 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.9733, allocations: 356.2 kB / 0.5896 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.985e-05/0.9734, allocations: 7.906 kB / 0.5896 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/0.9735, allocations: 3.938 kB / 0.5896 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.9735, allocations: 12 kB / 0.5896 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.9762, allocations: 1.072 MB / 0.5907 GB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008058/0.9771, allocations: 281.3 kB / 0.591 GB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000526/0.9776, allocations: 191 kB / 0.5911 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/0.9777, allocations: 8.438 kB / 0.5912 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.9777, allocations: 46.94 kB / 0.5912 GB, free: 13.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 4.037e-06/0.9777, allocations: 0 / 0.5912 GB, free: 13.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.004258/0.982, allocations: 1.795 MB / 0.593 GB, free: 11.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.9821, allocations: 89.61 kB / 0.593 GB, free: 11.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.9824, allocations: 197 kB / 0.5932 GB, free: 10.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.9825, allocations: 25.7 kB / 0.5932 GB, free: 10.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.9826, allocations: 181 kB / 0.5934 GB, free: 10.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.9829, allocations: 260.1 kB / 0.5937 GB, free: 10.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.9829, allocations: 0 / 0.5937 GB, free: 10.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002387/0.9832, allocations: 358.7 kB / 0.594 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.9837, allocations: 133.6 kB / 0.5941 GB, free: 9.922 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005703/0.9843, allocations: 251.1 kB / 0.5944 GB, free: 9.641 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005315/0.9848, allocations: 175.1 kB / 0.5945 GB, free: 9.473 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.9848, allocations: 0 / 0.5945 GB, free: 9.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001317/0.9862, allocations: 495.4 kB / 0.595 GB, free: 8.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.9862, allocations: 12.06 kB / 0.595 GB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.9862, allocations: 0 / 0.595 GB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.458e-05/0.9863, allocations: 8 kB / 0.595 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.9874, allocations: 179.8 kB / 0.5952 GB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/0.9875, allocations: 7.938 kB / 0.5952 GB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.9879, allocations: 16.05 kB / 0.5952 GB, free: 8.762 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.851e-05/0.988, allocations: 28 kB / 0.5953 GB, free: 8.734 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 0.000172/0.9882, allocations: 116.8 kB / 0.5954 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.9884, allocations: 47.44 kB / 0.5954 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.9885, allocations: 47.55 kB / 0.5955 GB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.9886, allocations: 8 kB / 0.5955 GB, free: 8.512 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.9886, allocations: 4 kB / 0.5955 GB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.9886, allocations: 3.984 kB / 0.5955 GB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/0.9918, allocations: 1.317 MB / 0.5968 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.9918, allocations: 4 kB / 0.5968 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.9931, allocations: 156.1 kB / 0.5969 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.902e-05/0.9931, allocations: 12 kB / 0.5969 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.665e-05/0.9932, allocations: 4 kB / 0.5969 GB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.839e-05/0.9932, allocations: 11.98 kB / 0.5969 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.9932, allocations: 4 kB / 0.5969 GB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001973/0.9952, allocations: 0.9779 MB / 0.5979 GB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002534/0.9978, allocations: 1.537 MB / 0.5994 GB, free: 4.133 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.998, allocations: 112.6 kB / 0.5995 GB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.9982, allocations: 8 kB / 0.5995 GB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005831/0.9988, allocations: 11.98 kB / 0.5995 GB, free: 3.984 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.902e-05/0.9989, allocations: 40.23 kB / 0.5996 GB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.05e-05/0.9989, allocations: 23.98 kB / 0.5996 GB, free: 3.918 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002354/0.9992, allocations: 153.2 kB / 0.5997 GB, free: 3.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002222/1.001, allocations: 124 kB / 0.5999 GB, free: 3.648 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.0002073/1.002, allocations: 107.1 kB / 0.6 GB, free: 3.535 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/1.003, allocations: 393.6 kB / 0.6003 GB, free: 3.152 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.003, allocations: 0 / 0.6003 GB, free: 3.152 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004769/1.003, allocations: 219 kB / 0.6005 GB, free: 2.941 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/1.004, allocations: 100.4 kB / 0.6006 GB, free: 2.844 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/1.008, allocations: 1.489 MB / 0.6021 GB, free: 1.289 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008787/1.009, allocations: 0.9256 MB / 0.603 GB, free: 344 kB / 410.7 MB Notification: Performance of SimCode: time 9.01e-07/1.009, allocations: 0 / 0.603 GB, free: 344 kB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat