Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001521/0.001521, allocations: 116.9 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00162/0.00162, allocations: 212.7 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.5 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2391/0.2391, allocations: 46.91 MB / 357.7 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002479/0.002479, allocations: 75.88 kB / 0.4916 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1228, allocations: 66.05 MB / 0.5561 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004433/0.1272, allocations: 2.637 MB / 0.5587 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1288, allocations: 0.7245 MB / 0.5594 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.129, allocations: 19.81 kB / 0.5594 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.1292, allocations: 43.52 kB / 0.5595 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.1294, allocations: 87.19 kB / 0.5596 GB, free: 2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.1298, allocations: 103.9 kB / 0.5597 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000502/0.1303, allocations: 338.5 kB / 0.56 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.1305, allocations: 61.92 kB / 0.56 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.1308, allocations: 139.5 kB / 0.5602 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.131, allocations: 135.3 kB / 0.5603 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.1311, allocations: 20 kB / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.778e-05/0.1312, allocations: 27.98 kB / 0.5604 GB, free: 1.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.1312, allocations: 59.77 kB / 0.5604 GB, free: 1.121 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.1314, allocations: 135.3 kB / 0.5605 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.1318, allocations: 326.5 kB / 0.5609 GB, free: 0.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1318, allocations: 0 / 0.5609 GB, free: 0.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.1318, allocations: 4 kB / 0.5609 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.1318, allocations: 0 / 0.5609 GB, free: 0.6641 MB / 414.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.001075/0.1329, allocations: 0.5844 MB / 0.5614 GB, free: 32 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1329, allocations: 16.03 kB / 0.5614 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.208e-05/0.133, allocations: 4.75 kB / 0.5614 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.899e-05/0.133, allocations: 62.72 kB / 0.5615 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002506/0.1333, allocations: 48.73 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.1338, allocations: 279.8 kB / 0.5618 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.1338, allocations: 28.88 kB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.1339, allocations: 28.33 kB / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/0.1344, allocations: 281.9 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.1344, allocations: 3.953 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.1344, allocations: 16 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1344, allocations: 4 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004499/0.1349, allocations: 185.4 kB / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.1367, allocations: 1.306 MB / 0.5636 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.1372, allocations: 242.4 kB / 0.5638 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.1374, allocations: 99.52 kB / 0.5639 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.1374, allocations: 4 kB / 0.5639 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.1374, allocations: 38.56 kB / 0.564 GB, free: 13.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.904e-06/0.1374, allocations: 0 / 0.564 GB, free: 13.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.002805/0.1402, allocations: 1.585 MB / 0.5655 GB, free: 11.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/0.1403, allocations: 136.5 kB / 0.5657 GB, free: 11.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.1406, allocations: 229 kB / 0.5659 GB, free: 10.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.1406, allocations: 29.7 kB / 0.5659 GB, free: 10.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.1407, allocations: 180.5 kB / 0.5661 GB, free: 10.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.1408, allocations: 126.9 kB / 0.5662 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1409, allocations: 66.14 kB / 0.5663 GB, free: 10.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1411, allocations: 338.8 kB / 0.5666 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.1414, allocations: 96.81 kB / 0.5667 GB, free: 10.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.1417, allocations: 241.4 kB / 0.5669 GB, free: 9.852 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006575/0.1424, allocations: 370 kB / 0.5673 GB, free: 9.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1424, allocations: 3.938 kB / 0.5673 GB, free: 9.426 MB / 430.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000801/0.1432, allocations: 398 kB / 0.5676 GB, free: 9.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1432, allocations: 8 kB / 0.5677 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.1432, allocations: 4 kB / 0.5677 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.1432, allocations: 8 kB / 0.5677 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.1436, allocations: 99.81 kB / 0.5678 GB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.1436, allocations: 8 kB / 0.5678 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.1438, allocations: 32.28 kB / 0.5678 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.1439, allocations: 16 kB / 0.5678 GB, free: 8.859 MB / 430.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.0001679/0.144, allocations: 161.6 kB / 0.568 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.1441, allocations: 27.81 kB / 0.568 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.871e-05/0.1442, allocations: 33.7 kB / 0.568 GB, free: 8.629 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1442, allocations: 4 kB / 0.568 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1442, allocations: 0 / 0.568 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.1443, allocations: 3.984 kB / 0.568 GB, free: 8.621 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.1458, allocations: 0.9899 MB / 0.569 GB, free: 7.566 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1458, allocations: 0 / 0.569 GB, free: 7.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003736/0.1462, allocations: 79.95 kB / 0.5691 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.1462, allocations: 3.938 kB / 0.5691 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.1462, allocations: 11.98 kB / 0.5691 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1462, allocations: 4 kB / 0.5691 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1462, allocations: 0 / 0.5691 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.1473, allocations: 0.7448 MB / 0.5698 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.1474, allocations: 100.9 kB / 0.5699 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.1474, allocations: 12 kB / 0.5699 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.1477, allocations: 15.98 kB / 0.5699 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/0.1478, allocations: 27.95 kB / 0.57 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.1478, allocations: 12.28 kB / 0.57 GB, free: 6.516 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.1479, allocations: 156.5 kB / 0.5701 GB, free: 6.359 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.148, allocations: 4 kB / 0.5701 GB, free: 6.355 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004792/0.1484, allocations: 75.94 kB / 0.5702 GB, free: 6.281 MB / 430.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.1498, allocations: 1.27 MB / 0.5715 GB, free: 4.977 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006438/0.1504, allocations: 268.1 kB / 0.5717 GB, free: 4.715 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1504, allocations: 0 / 0.5717 GB, free: 4.715 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.1507, allocations: 128.8 kB / 0.5718 GB, free: 4.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000634/0.1514, allocations: 40.59 kB / 0.5719 GB, free: 4.551 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004745/0.1561, allocations: 3.516 MB / 0.5753 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.1565, allocations: 0.772 MB / 0.5761 GB, free: 16 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001693/0.1567, allocations: 38.89 kB / 0.5761 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.1569, allocations: 95.39 kB / 0.5762 GB, free: 15.88 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1569, allocations: 0 / 0.5762 GB, free: 15.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.1799, allocations: 5.446 MB / 0.5815 GB, free: 10.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.611/8.791, allocations: 7.359 kB / 0.5815 GB, free: 10.52 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 12.162624682998285]