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.001708/0.001708, allocations: 109 kB / 20.48 MB, free: 1.477 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.002156/0.002156, allocations: 209.7 kB / 23.79 MB, free: 4.688 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.583/1.583, allocations: 207.6 MB / 234.6 MB, free: 9.977 MB / 190.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.2231/0.2231, allocations: 44.23 MB / 331.1 MB, free: 9.512 MB / 270.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed",fmuType="cs",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.002657/0.002657, allocations: 71.48 kB / 468.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1252, allocations: 61.04 MB / 0.5169 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004362/0.1296, allocations: 2.637 MB / 0.5195 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1309, allocations: 0.702 MB / 0.5202 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.1311, allocations: 7.938 kB / 0.5202 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.1313, allocations: 47.52 kB / 0.5202 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.1315, allocations: 83.2 kB / 0.5203 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.1318, allocations: 87.83 kB / 0.5204 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.1322, allocations: 338.5 kB / 0.5207 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.1324, allocations: 57.94 kB / 0.5207 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.1326, allocations: 135.5 kB / 0.5209 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.1328, allocations: 139.3 kB / 0.521 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.1328, allocations: 24 kB / 0.521 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.651e-05/0.1329, allocations: 20 kB / 0.5211 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.163e-05/0.133, allocations: 55.78 kB / 0.5211 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.1331, allocations: 143.3 kB / 0.5212 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.1335, allocations: 302.6 kB / 0.5215 GB, free: 2.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1335, allocations: 0 / 0.5215 GB, free: 2.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1335, allocations: 0 / 0.5215 GB, free: 2.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.1335, allocations: 0 / 0.5215 GB, free: 2.57 MB / 398.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.0009024/0.1344, allocations: 0.5168 MB / 0.522 GB, free: 2.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1345, allocations: 8.031 kB / 0.522 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.558e-05/0.1345, allocations: 12.69 kB / 0.5221 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.532e-05/0.1345, allocations: 62.72 kB / 0.5221 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.463e-05/0.1346, allocations: 36.75 kB / 0.5221 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.135, allocations: 206 kB / 0.5223 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.135, allocations: 20.88 kB / 0.5224 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/0.1351, allocations: 28.33 kB / 0.5224 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/0.1356, allocations: 289 kB / 0.5227 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.1356, allocations: 0 / 0.5227 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.1356, allocations: 12 kB / 0.5227 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1356, allocations: 4 kB / 0.5227 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/0.1361, allocations: 187.7 kB / 0.5229 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.138, allocations: 1.246 MB / 0.5241 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.1384, allocations: 230.5 kB / 0.5243 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.1386, allocations: 99.39 kB / 0.5244 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.1386, allocations: 0 / 0.5244 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.1387, allocations: 42.5 kB / 0.5244 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.052e-06/0.1387, allocations: 0 / 0.5244 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002551/0.1412, allocations: 1.201 MB / 0.5256 GB, free: 14.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.298e-05/0.1413, allocations: 136.5 kB / 0.5257 GB, free: 13.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.1416, allocations: 233 kB / 0.526 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.1416, allocations: 33.7 kB / 0.526 GB, free: 13.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.1418, allocations: 176.6 kB / 0.5262 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.1419, allocations: 122.9 kB / 0.5263 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.142, allocations: 70.14 kB / 0.5263 GB, free: 13.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.1422, allocations: 334.8 kB / 0.5267 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.1425, allocations: 100.8 kB / 0.5268 GB, free: 12.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.1428, allocations: 241.4 kB / 0.527 GB, free: 12.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006721/0.1435, allocations: 365.1 kB / 0.5273 GB, free: 12.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.1435, allocations: 3.938 kB / 0.5273 GB, free: 12.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008333/0.1443, allocations: 401.5 kB / 0.5277 GB, free: 11.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1444, allocations: 8 kB / 0.5277 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.1444, allocations: 4 kB / 0.5277 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.1444, allocations: 4.5 kB / 0.5277 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.1448, allocations: 107.8 kB / 0.5278 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.1448, allocations: 11.94 kB / 0.5279 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.145, allocations: 36.17 kB / 0.5279 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.145, allocations: 20 kB / 0.5279 GB, free: 11.49 MB / 414.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.0001585/0.1452, allocations: 145.7 kB / 0.528 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.1453, allocations: 27.86 kB / 0.5281 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.272e-05/0.1454, allocations: 37.7 kB / 0.5281 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1454, allocations: 8.234 kB / 0.5281 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1454, allocations: 4 kB / 0.5281 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1454, allocations: 0 / 0.5281 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.147, allocations: 0.9573 MB / 0.5291 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.147, allocations: 4 kB / 0.5291 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.1474, allocations: 75.88 kB / 0.5291 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.1474, allocations: 7.938 kB / 0.5291 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.1474, allocations: 8 kB / 0.5291 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.1474, allocations: 0 / 0.5291 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1474, allocations: 4.062 kB / 0.5292 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.1485, allocations: 0.7405 MB / 0.5299 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.1485, allocations: 23.81 kB / 0.5299 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.1486, allocations: 12 kB / 0.5299 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.1489, allocations: 23.97 kB / 0.5299 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.511e-05/0.149, allocations: 31.89 kB / 0.53 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.149, allocations: 12 kB / 0.53 GB, free: 9.281 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.1491, allocations: 156.5 kB / 0.5301 GB, free: 9.129 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1491, allocations: 0 / 0.5301 GB, free: 9.129 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004838/0.1496, allocations: 68 kB / 0.5302 GB, free: 9.062 MB / 414.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.001357/0.151, allocations: 1.274 MB / 0.5314 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006504/0.1516, allocations: 256.4 kB / 0.5317 GB, free: 7.504 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1516, allocations: 128 / 0.5317 GB, free: 7.504 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.1519, allocations: 132.1 kB / 0.5318 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/0.1526, allocations: 45.42 kB / 0.5318 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005009/0.1576, allocations: 3.505 MB / 0.5353 GB, free: 3.598 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.158, allocations: 0.7603 MB / 0.536 GB, free: 2.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000161/0.1582, allocations: 38.95 kB / 0.536 GB, free: 2.773 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.1584, allocations: 95.39 kB / 0.5361 GB, free: 2.68 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1584, allocations: 4 kB / 0.5361 GB, free: 2.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2923/0.4507, allocations: 5.71 MB / 0.5417 GB, free: 28.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.23, allocations: 5.828 kB / 0.5417 GB, free: 28.14 MB / 414.1 MB " [Timeout remaining time 648] (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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.596248762973119]