Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",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.00106/0.00106, allocations: 190.2 kB / 7.802 MB, free: 2.504 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.382/1.382, allocations: 205.2 MB / 213.4 MB, free: 13.88 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.0009714/0.0009714, allocations: 91.53 kB / 261.4 MB, free: 13.56 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.2191/0.2191, allocations: 43.5 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2386/0.4577, allocations: 64.96 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.8293, allocations: 58.84 MB / 476.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.9686, allocations: 86.16 MB / 0.5496 GB, free: 12.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.9689, allocations: 67.97 kB / 0.5497 GB, free: 12.7 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.01867/0.9876, allocations: 6.508 MB / 0.556 GB, free: 6.113 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.9877, allocations: 8 kB / 0.556 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.9878, allocations: 51.44 kB / 0.5561 GB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.9883, allocations: 275.3 kB / 0.5564 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.9883, allocations: 16 kB / 0.5564 GB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.466e-05/0.9884, allocations: 35.92 kB / 0.5564 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004372/0.9889, allocations: 185.5 kB / 0.5566 GB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.9894, allocations: 306.3 kB / 0.5569 GB, free: 5.195 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.9894, allocations: 3.984 kB / 0.5569 GB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.9895, allocations: 4 kB / 0.5569 GB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.9895, allocations: 8 kB / 0.5569 GB, free: 5.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.9911, allocations: 1.011 MB / 0.5579 GB, free: 4.121 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.9915, allocations: 233 kB / 0.5581 GB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.9917, allocations: 155 kB / 0.5582 GB, free: 3.715 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.9918, allocations: 4 kB / 0.5583 GB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.9918, allocations: 38.56 kB / 0.5583 GB, free: 3.664 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 2.084e-06/0.9918, allocations: 0 / 0.5583 GB, free: 3.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.003495/0.9953, allocations: 2.118 MB / 0.5604 GB, free: 1.273 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.9954, allocations: 114.8 kB / 0.5605 GB, free: 1.137 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.9956, allocations: 154 kB / 0.5606 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.9957, allocations: 28.77 kB / 0.5606 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.9958, allocations: 173.1 kB / 0.5608 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.996, allocations: 189.1 kB / 0.561 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.996, allocations: 4 kB / 0.561 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.9962, allocations: 342.8 kB / 0.5613 GB, free: 248 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.9964, allocations: 105.3 kB / 0.5614 GB, free: 144 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.9968, allocations: 199.5 kB / 0.5616 GB, free: 15.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.997, allocations: 135.8 kB / 0.5617 GB, free: 15.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9971, allocations: 0 / 0.5617 GB, free: 15.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008878/0.998, allocations: 475.3 kB / 0.5622 GB, free: 15.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.998, allocations: 4 kB / 0.5622 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.998, allocations: 4 kB / 0.5622 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004/0.9984, allocations: 118.7 kB / 0.5623 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.9989, allocations: 112 kB / 0.5624 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004276/1.003, allocations: 4.423 MB / 0.5667 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/1.003, allocations: 8 kB / 0.5667 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/1.003, allocations: 20.06 kB / 0.5668 GB, free: 10.25 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 (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/1.004, allocations: 134.2 kB / 0.5669 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/1.004, allocations: 31.62 kB / 0.5669 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.58e-05/1.004, allocations: 29.59 kB / 0.567 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/1.004, allocations: 8 kB / 0.567 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/1.004, allocations: 256 / 0.567 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/1.004, allocations: 7.984 kB / 0.567 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/1.006, allocations: 1.184 MB / 0.5681 GB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/1.006, allocations: 7.906 kB / 0.5681 GB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000485/1.006, allocations: 99.97 kB / 0.5682 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003079/1.007, allocations: 94.47 kB / 0.5683 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.9e-05/1.007, allocations: 4 kB / 0.5683 GB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003328/1.01, allocations: 3.913 MB / 0.5721 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/1.01, allocations: 0 / 0.5721 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00119/1.011, allocations: 0.8869 MB / 0.573 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001463/1.013, allocations: 1.43 MB / 0.5744 GB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/1.013, allocations: 100.7 kB / 0.5745 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/1.013, allocations: 4 kB / 0.5745 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/1.013, allocations: 15.98 kB / 0.5745 GB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/1.013, allocations: 35.8 kB / 0.5746 GB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/1.013, allocations: 16 kB / 0.5746 GB, free: 1.684 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001159/1.014, allocations: 132.4 kB / 0.5747 GB, free: 1.555 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001276/1.015, allocations: 96 kB / 0.5748 GB, free: 1.461 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001894/1.015, allocations: 103.2 kB / 0.5749 GB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001115/1.016, allocations: 0.6371 MB / 0.5755 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.016, allocations: 0 / 0.5755 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006839/1.017, allocations: 0.5015 MB / 0.576 GB, free: 152 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/1.017, allocations: 35.23 kB / 0.576 GB, free: 120 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/1.019, allocations: 0.903 MB / 0.5769 GB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005316/1.02, allocations: 0.866 MB / 0.5778 GB, free: 14.29 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/1.02, allocations: 0 / 0.5778 GB, free: 14.29 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat