Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001811/0.001811, allocations: 113.6 kB / 18.44 MB, free: 4.719 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.002033/0.002033, allocations: 190 kB / 21.38 MB, free: 1.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 247.1 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3657/0.3657, allocations: 44.25 MB / 343.5 MB, free: 7.605 MB / 270.1 MB " [Timeout remaining time 180] 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 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) 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_4_0_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002043, allocations: 64.25 kB / 478.8 MB, free: 24.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1247, allocations: 60.83 MB / 0.527 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004196/0.129, allocations: 2.607 MB / 0.5295 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1304, allocations: 0.6389 MB / 0.5301 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.1306, allocations: 7.938 kB / 0.5302 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.1308, allocations: 43.53 kB / 0.5302 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.131, allocations: 87.2 kB / 0.5303 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.1313, allocations: 83.88 kB / 0.5304 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004203/0.1318, allocations: 334.5 kB / 0.5307 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.132, allocations: 86.09 kB / 0.5308 GB, free: 9.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.1322, allocations: 127.5 kB / 0.5309 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.1324, allocations: 139.3 kB / 0.531 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.1325, allocations: 20 kB / 0.531 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.152e-05/0.1325, allocations: 24 kB / 0.5311 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.068e-05/0.1326, allocations: 59.77 kB / 0.5311 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.1328, allocations: 143.2 kB / 0.5313 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000393/0.1332, allocations: 298.7 kB / 0.5315 GB, free: 8.988 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1332, allocations: 0 / 0.5315 GB, free: 8.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1332, allocations: 0 / 0.5315 GB, free: 8.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1332, allocations: 0 / 0.5315 GB, free: 8.988 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.001021/0.1342, allocations: 0.5999 MB / 0.5321 GB, free: 8.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1343, allocations: 8.031 kB / 0.5321 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.961e-05/0.1344, allocations: 58.73 kB / 0.5322 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.1344, allocations: 32.75 kB / 0.5322 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.1348, allocations: 271.8 kB / 0.5325 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.1349, allocations: 20.94 kB / 0.5325 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.064e-05/0.1349, allocations: 28.33 kB / 0.5325 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.1356, allocations: 282 kB / 0.5328 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.1356, allocations: 8 kB / 0.5328 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.1357, allocations: 12 kB / 0.5328 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.1357, allocations: 8 kB / 0.5328 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004415/0.1362, allocations: 190.9 kB / 0.533 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.138, allocations: 1.31 MB / 0.5343 GB, free: 5.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.1385, allocations: 250.5 kB / 0.5345 GB, free: 5.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.1387, allocations: 103.4 kB / 0.5346 GB, free: 5.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.1387, allocations: 4 kB / 0.5346 GB, free: 5.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.1388, allocations: 38.5 kB / 0.5347 GB, free: 5.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.823e-06/0.1388, allocations: 0 / 0.5347 GB, free: 5.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002838/0.1416, allocations: 1.578 MB / 0.5362 GB, free: 3.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.1417, allocations: 140.5 kB / 0.5363 GB, free: 3.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.142, allocations: 221 kB / 0.5365 GB, free: 3.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.142, allocations: 33.7 kB / 0.5366 GB, free: 3.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.1422, allocations: 180.5 kB / 0.5367 GB, free: 3.113 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.1423, allocations: 126.9 kB / 0.5369 GB, free: 2.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.1424, allocations: 70.09 kB / 0.5369 GB, free: 2.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1426, allocations: 342.8 kB / 0.5373 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.1429, allocations: 96.81 kB / 0.5374 GB, free: 2.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.1432, allocations: 239.1 kB / 0.5376 GB, free: 2.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006648/0.1439, allocations: 369.1 kB / 0.5379 GB, free: 1.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1439, allocations: 4 kB / 0.5379 GB, free: 1.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000833/0.1448, allocations: 389.5 kB / 0.5383 GB, free: 1.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1448, allocations: 8 kB / 0.5383 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.1448, allocations: 4 kB / 0.5383 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.1448, allocations: 8 kB / 0.5383 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.1452, allocations: 100.2 kB / 0.5384 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.1453, allocations: 11.98 kB / 0.5384 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.1455, allocations: 35.95 kB / 0.5385 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.1455, allocations: 19.94 kB / 0.5385 GB, free: 1.191 MB / 398.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.0001772/0.1457, allocations: 153.7 kB / 0.5386 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.1458, allocations: 27.81 kB / 0.5387 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.877e-05/0.1459, allocations: 37.7 kB / 0.5387 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1459, allocations: 4 kB / 0.5387 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1459, allocations: 0 / 0.5387 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.108e-06/0.1459, allocations: 11.98 kB / 0.5387 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.1477, allocations: 0.9743 MB / 0.5397 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1477, allocations: 0 / 0.5397 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.1481, allocations: 75.89 kB / 0.5397 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.1481, allocations: 8 kB / 0.5397 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.1482, allocations: 15.92 kB / 0.5398 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1482, allocations: 0 / 0.5398 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.1482, allocations: 4 kB / 0.5398 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.1493, allocations: 0.7292 MB / 0.5405 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.1495, allocations: 104.9 kB / 0.5406 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.1496, allocations: 12 kB / 0.5406 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.1499, allocations: 15.98 kB / 0.5406 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.967e-05/0.15, allocations: 27.95 kB / 0.5406 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.15, allocations: 12 kB / 0.5406 GB, free: 14.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000218/0.1502, allocations: 164.4 kB / 0.5408 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1502, allocations: 0 / 0.5408 GB, free: 14.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005427/0.1508, allocations: 68 kB / 0.5409 GB, free: 14.64 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.001535/0.1523, allocations: 1.268 MB / 0.5421 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007222/0.1531, allocations: 276.6 kB / 0.5424 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1531, allocations: 0 / 0.5424 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.1534, allocations: 136.7 kB / 0.5425 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000667/0.1541, allocations: 49.41 kB / 0.5425 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005394/0.1595, allocations: 3.498 MB / 0.546 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.16, allocations: 0.7759 MB / 0.5467 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000159/0.1601, allocations: 26.97 kB / 0.5467 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.1603, allocations: 99.95 kB / 0.5468 GB, free: 8.242 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1603, allocations: 4 kB / 0.5468 GB, free: 8.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.1909, allocations: 5.316 MB / 0.552 GB, free: 3.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.501/8.692, allocations: 18.69 kB / 0.552 GB, free: 2.992 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Rotational.TestSpeed_res.csv. Warning: Get data of variable speed4.s from file ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.86531104403548]