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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 112.2 kB / 17.12 MB, free: 5.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 205 kB / 20.09 MB, free: 3 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.531/1.531, allocations: 207.6 MB / 230.5 MB, free: 4.02 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.3906/0.3906, allocations: 44.24 MB / 326.6 MB, free: 6.84 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 63.91 kB / 462.2 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3149, allocations: 61 MB / 0.5109 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003382/0.3183, allocations: 2.628 MB / 0.5135 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3194, allocations: 0.6957 MB / 0.5142 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.3196, allocations: 7.812 kB / 0.5142 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.3198, allocations: 44.83 kB / 0.5142 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.32, allocations: 87.64 kB / 0.5143 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.3202, allocations: 88.59 kB / 0.5144 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.3206, allocations: 331.6 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.3207, allocations: 63.7 kB / 0.5148 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.3209, allocations: 134.1 kB / 0.5149 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.3211, allocations: 132.7 kB / 0.515 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.187e-05/0.3211, allocations: 22.16 kB / 0.515 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.602e-05/0.3212, allocations: 22.44 kB / 0.5151 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.3212, allocations: 59.44 kB / 0.5151 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3213, allocations: 150.2 kB / 0.5153 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.3216, allocations: 294.6 kB / 0.5155 GB, free: 9.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3216, allocations: 7.938 kB / 0.5155 GB, free: 9.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3216, allocations: 1.375 kB / 0.5155 GB, free: 9.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3216, allocations: 0 / 0.5155 GB, free: 9.562 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.0008749/0.3225, allocations: 0.5887 MB / 0.5161 GB, free: 9.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.3225, allocations: 17.42 kB / 0.5161 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.3226, allocations: 62.97 kB / 0.5162 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.544e-05/0.3227, allocations: 33.25 kB / 0.5162 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.323, allocations: 262.1 kB / 0.5165 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.323, allocations: 14.56 kB / 0.5165 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.3231, allocations: 34.2 kB / 0.5165 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.3235, allocations: 279.7 kB / 0.5168 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.3236, allocations: 2.75 kB / 0.5168 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.3236, allocations: 14.69 kB / 0.5168 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3236, allocations: 6.875 kB / 0.5168 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003964/0.324, allocations: 195.8 kB / 0.517 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.3254, allocations: 1.311 MB / 0.5183 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.3258, allocations: 237.3 kB / 0.5185 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.3259, allocations: 91.39 kB / 0.5186 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.326, allocations: 8 kB / 0.5186 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.326, allocations: 38.56 kB / 0.5186 GB, free: 6.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.886e-06/0.326, allocations: 0 / 0.5186 GB, free: 6.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002299/0.3283, allocations: 1.579 MB / 0.5202 GB, free: 4.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.3283, allocations: 140.5 kB / 0.5203 GB, free: 4.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.3285, allocations: 229 kB / 0.5205 GB, free: 4.598 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3285, allocations: 29.7 kB / 0.5206 GB, free: 4.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.3286, allocations: 180.5 kB / 0.5207 GB, free: 4.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.543e-05/0.3287, allocations: 119 kB / 0.5209 GB, free: 4.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.994e-05/0.3288, allocations: 70.12 kB / 0.5209 GB, free: 4.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.797e-05/0.3288, allocations: 338.8 kB / 0.5212 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.3291, allocations: 104.8 kB / 0.5213 GB, free: 3.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.3293, allocations: 237.5 kB / 0.5216 GB, free: 3.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/0.3299, allocations: 369.1 kB / 0.5219 GB, free: 3.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3299, allocations: 4 kB / 0.5219 GB, free: 3.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000671/0.3305, allocations: 405.2 kB / 0.5223 GB, free: 2.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3306, allocations: 8.031 kB / 0.5223 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3306, allocations: 8 kB / 0.5223 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.3306, allocations: 4 kB / 0.5223 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.331, allocations: 99.81 kB / 0.5224 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.331, allocations: 8 kB / 0.5224 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.3312, allocations: 27.94 kB / 0.5225 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.3312, allocations: 23.98 kB / 0.5225 GB, free: 2.449 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.0001495/0.3314, allocations: 157.6 kB / 0.5226 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.629e-05/0.3315, allocations: 27.86 kB / 0.5227 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.015e-05/0.3315, allocations: 33.7 kB / 0.5227 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3315, allocations: 4 kB / 0.5227 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3315, allocations: 4 kB / 0.5227 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3316, allocations: 0 / 0.5227 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.3328, allocations: 0.9818 MB / 0.5237 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3328, allocations: 4 kB / 0.5237 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.3331, allocations: 75.97 kB / 0.5237 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.3331, allocations: 12 kB / 0.5237 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.3331, allocations: 11.94 kB / 0.5238 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3331, allocations: 0 / 0.5238 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3331, allocations: 4 kB / 0.5238 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000827/0.334, allocations: 0.7213 MB / 0.5245 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.334, allocations: 108.8 kB / 0.5246 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.3341, allocations: 12.25 kB / 0.5246 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.3344, allocations: 23.98 kB / 0.5246 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.489e-05/0.3344, allocations: 23.97 kB / 0.5246 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.3345, allocations: 15.98 kB / 0.5246 GB, free: 116 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.3346, allocations: 152.5 kB / 0.5248 GB, free: 15.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3346, allocations: 3.938 kB / 0.5248 GB, free: 15.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005671/0.3352, allocations: 64 kB / 0.5249 GB, free: 15.9 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.001624/0.3368, allocations: 1.278 MB / 0.5261 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007571/0.3376, allocations: 268.7 kB / 0.5264 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.3376, allocations: 4 kB / 0.5264 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.3379, allocations: 123.8 kB / 0.5265 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00073/0.3386, allocations: 41.16 kB / 0.5265 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/0.3447, allocations: 3.507 MB / 0.5299 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006006/0.3453, allocations: 0.772 MB / 0.5307 GB, free: 9.625 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001841/0.3454, allocations: 30.97 kB / 0.5307 GB, free: 9.594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.3456, allocations: 91.41 kB / 0.5308 GB, free: 9.504 MB / 398.1 MB Notification: Performance of SimCode: time 1.553e-06/0.3456, allocations: 0 / 0.5308 GB, free: 9.504 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03287/0.3785, allocations: 5.355 MB / 0.536 GB, free: 4.145 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.61/8.989, allocations: 19.59 kB / 0.5361 GB, free: 4.129 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219824 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable speed4.s in file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.csv. Warning: Get data of variable speed4.s from file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.151385463002953]