Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 117.9 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002083/0.002083, allocations: 192.7 kB / 20.07 MB, free: 2.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 207.6 MB / 230.5 MB, free: 4.031 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4008/0.4008, allocations: 44.23 MB / 326.5 MB, free: 6.832 MB / 254.1 MB " [Timeout remaining time 179] 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 67.91 kB / 462.1 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2728, allocations: 60.99 MB / 0.5109 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003067/0.2758, allocations: 2.627 MB / 0.5134 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.2767, allocations: 0.6996 MB / 0.5141 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.2768, allocations: 4.844 kB / 0.5141 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.277, allocations: 43.17 kB / 0.5142 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.2771, allocations: 88.61 kB / 0.5143 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.2774, allocations: 87.66 kB / 0.5143 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000349/0.2777, allocations: 331.8 kB / 0.5147 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.2779, allocations: 68.88 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.278, allocations: 127.9 kB / 0.5148 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.2782, allocations: 126.8 kB / 0.515 GB, free: 10 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/0.2782, allocations: 22 kB / 0.515 GB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.457e-05/0.2783, allocations: 22 kB / 0.515 GB, free: 10 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.2783, allocations: 60.02 kB / 0.5151 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.2784, allocations: 146 kB / 0.5152 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.2787, allocations: 299.9 kB / 0.5155 GB, free: 9.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2788, allocations: 11.88 kB / 0.5155 GB, free: 9.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2788, allocations: 0 / 0.5155 GB, free: 9.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.2788, allocations: 0 / 0.5155 GB, free: 9.633 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008427/0.2796, allocations: 0.5898 MB / 0.5161 GB, free: 9.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.2797, allocations: 17.95 kB / 0.5161 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.771e-05/0.2797, allocations: 58.48 kB / 0.5161 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.2798, allocations: 32.47 kB / 0.5162 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.2801, allocations: 266.3 kB / 0.5164 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.2801, allocations: 18.61 kB / 0.5165 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.2802, allocations: 34.05 kB / 0.5165 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004382/0.2806, allocations: 276.8 kB / 0.5167 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.2806, allocations: 6.656 kB / 0.5168 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.2806, allocations: 10.72 kB / 0.5168 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.2807, allocations: 5.688 kB / 0.5168 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003788/0.281, allocations: 187.5 kB / 0.5169 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.2824, allocations: 1.312 MB / 0.5182 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.2827, allocations: 237.6 kB / 0.5185 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.2829, allocations: 99.53 kB / 0.5186 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.2829, allocations: 16.11 kB / 0.5186 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.2829, allocations: 34.56 kB / 0.5186 GB, free: 6.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.893e-06/0.2829, allocations: 7.984 kB / 0.5186 GB, free: 6.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.001971/0.2849, allocations: 1.569 MB / 0.5201 GB, free: 5.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.2849, allocations: 136.5 kB / 0.5203 GB, free: 4.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.285, allocations: 230.2 kB / 0.5205 GB, free: 4.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.2851, allocations: 29.7 kB / 0.5205 GB, free: 4.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.2851, allocations: 180.5 kB / 0.5207 GB, free: 4.422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.2852, allocations: 119 kB / 0.5208 GB, free: 4.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/0.2853, allocations: 70.12 kB / 0.5209 GB, free: 4.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.2853, allocations: 338.8 kB / 0.5212 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.2855, allocations: 100.8 kB / 0.5213 GB, free: 3.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.2858, allocations: 237.4 kB / 0.5215 GB, free: 3.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/0.2862, allocations: 368.7 kB / 0.5219 GB, free: 3.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2862, allocations: 4 kB / 0.5219 GB, free: 3.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006038/0.2868, allocations: 405.3 kB / 0.5223 GB, free: 2.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2868, allocations: 4.406 kB / 0.5223 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.2869, allocations: 15.98 kB / 0.5223 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.2869, allocations: 4 kB / 0.5223 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.2872, allocations: 95.88 kB / 0.5224 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.2872, allocations: 11.94 kB / 0.5224 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.2874, allocations: 27.94 kB / 0.5224 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.2874, allocations: 20 kB / 0.5224 GB, free: 2.492 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.2875, allocations: 157.6 kB / 0.5226 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.212e-05/0.2876, allocations: 31.86 kB / 0.5226 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.763e-05/0.2877, allocations: 29.72 kB / 0.5226 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2877, allocations: 7.984 kB / 0.5226 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2877, allocations: 4 kB / 0.5226 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2877, allocations: 0 / 0.5226 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.2888, allocations: 0.9778 MB / 0.5236 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2888, allocations: 4.438 kB / 0.5236 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.2891, allocations: 75.88 kB / 0.5237 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2891, allocations: 4.281 kB / 0.5237 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.2891, allocations: 20 kB / 0.5237 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2891, allocations: 3.938 kB / 0.5237 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2891, allocations: 7.938 kB / 0.5237 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007474/0.2899, allocations: 0.7175 MB / 0.5244 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.2899, allocations: 108.8 kB / 0.5245 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.29, allocations: 15.98 kB / 0.5245 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.2903, allocations: 19.98 kB / 0.5246 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.2903, allocations: 23.97 kB / 0.5246 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.2903, allocations: 12 kB / 0.5246 GB, free: 160 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.2904, allocations: 156.5 kB / 0.5247 GB, free: 4 kB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2904, allocations: 0 / 0.5247 GB, free: 4 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004865/0.2909, allocations: 64.05 kB / 0.5248 GB, free: 15.94 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001446/0.2924, allocations: 1.283 MB / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007283/0.2931, allocations: 264.3 kB / 0.5263 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2931, allocations: 0 / 0.5263 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.2934, allocations: 127.8 kB / 0.5264 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006543/0.294, allocations: 44.55 kB / 0.5265 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/0.2993, allocations: 3.504 MB / 0.5299 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.2998, allocations: 0.772 MB / 0.5306 GB, free: 9.672 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.2999, allocations: 34.95 kB / 0.5307 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.3001, allocations: 91.41 kB / 0.5308 GB, free: 9.547 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3001, allocations: 0 / 0.5308 GB, free: 9.547 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03167/0.3318, allocations: 5.351 MB / 0.536 GB, free: 4.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.572/8.904, allocations: 12 kB / 0.536 GB, free: 4.18 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.959846992976964]