Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001456/0.001456, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001542/0.001542, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2835/0.2835, allocations: 46.92 MB / 357.1 MB, free: 10.42 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.89 kB / 0.4909 GB, free: 8.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1313, allocations: 65.99 MB / 0.5554 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004929/0.1363, allocations: 2.64 MB / 0.5579 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.138, allocations: 0.7284 MB / 0.5586 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003371/0.1383, allocations: 7.938 kB / 0.5587 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.1386, allocations: 43.52 kB / 0.5587 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.1389, allocations: 87.2 kB / 0.5588 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.1393, allocations: 107.8 kB / 0.5589 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005207/0.1398, allocations: 338.5 kB / 0.5592 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.14, allocations: 65.94 kB / 0.5593 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.1403, allocations: 139.5 kB / 0.5594 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.1406, allocations: 131.3 kB / 0.5595 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.696e-05/0.1406, allocations: 24 kB / 0.5595 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.1407, allocations: 28 kB / 0.5596 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.686e-05/0.1408, allocations: 59.81 kB / 0.5596 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.1409, allocations: 143.2 kB / 0.5598 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.1414, allocations: 314.5 kB / 0.5601 GB, free: 1.121 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1414, allocations: 3.938 kB / 0.5601 GB, free: 1.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1414, allocations: 0 / 0.5601 GB, free: 1.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.1414, allocations: 0 / 0.5601 GB, free: 1.117 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.001121/0.1425, allocations: 0.5961 MB / 0.5607 GB, free: 484 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1426, allocations: 8.031 kB / 0.5607 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.425e-05/0.1427, allocations: 58.73 kB / 0.5607 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002763/0.1429, allocations: 52.72 kB / 0.5608 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005007/0.1434, allocations: 284.8 kB / 0.561 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.1435, allocations: 16.94 kB / 0.5611 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.513e-05/0.1435, allocations: 32.38 kB / 0.5611 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/0.1441, allocations: 282 kB / 0.5614 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.1441, allocations: 11.89 kB / 0.5614 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.1442, allocations: 16 kB / 0.5614 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1442, allocations: 4 kB / 0.5614 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.1447, allocations: 183.7 kB / 0.5616 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.1466, allocations: 1.302 MB / 0.5628 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/0.1471, allocations: 238.3 kB / 0.5631 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.1473, allocations: 95.39 kB / 0.5631 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.1474, allocations: 8.125 kB / 0.5632 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.1474, allocations: 42.55 kB / 0.5632 GB, free: 13.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.1474, allocations: 0 / 0.5632 GB, free: 13.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.003076/0.1505, allocations: 1.579 MB / 0.5647 GB, free: 11.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.1506, allocations: 136.5 kB / 0.5649 GB, free: 11.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.1509, allocations: 233 kB / 0.5651 GB, free: 11.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.1509, allocations: 29.7 kB / 0.5651 GB, free: 11.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.1511, allocations: 180.5 kB / 0.5653 GB, free: 11.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.1512, allocations: 123 kB / 0.5654 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.1513, allocations: 70.12 kB / 0.5655 GB, free: 11.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1515, allocations: 338.8 kB / 0.5658 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.1518, allocations: 100.8 kB / 0.5659 GB, free: 10.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/0.1522, allocations: 237.4 kB / 0.5661 GB, free: 10.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006962/0.1529, allocations: 373 kB / 0.5665 GB, free: 9.879 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1529, allocations: 320 / 0.5665 GB, free: 9.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008591/0.1537, allocations: 401.2 kB / 0.5669 GB, free: 9.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.1538, allocations: 13.86 kB / 0.5669 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.1538, allocations: 4 kB / 0.5669 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.1538, allocations: 8 kB / 0.5669 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.1542, allocations: 99.88 kB / 0.567 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.1542, allocations: 12.31 kB / 0.567 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.1545, allocations: 27.98 kB / 0.567 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.1545, allocations: 16 kB / 0.567 GB, free: 9.305 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.0001988/0.1547, allocations: 163.8 kB / 0.5672 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.1548, allocations: 31.81 kB / 0.5672 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.892e-05/0.1549, allocations: 33.7 kB / 0.5673 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1549, allocations: 8 kB / 0.5673 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1549, allocations: 192 / 0.5673 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1549, allocations: 4 kB / 0.5673 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.1566, allocations: 0.9817 MB / 0.5682 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1566, allocations: 0 / 0.5682 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.157, allocations: 79.88 kB / 0.5683 GB, free: 7.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.157, allocations: 0 / 0.5683 GB, free: 7.934 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.1571, allocations: 11.94 kB / 0.5683 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.415e-06/0.1571, allocations: 7.938 kB / 0.5683 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1571, allocations: 0 / 0.5683 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.1582, allocations: 0.737 MB / 0.569 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1583, allocations: 108.8 kB / 0.5691 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.1583, allocations: 8 kB / 0.5691 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.1587, allocations: 19.98 kB / 0.5692 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/0.1587, allocations: 23.97 kB / 0.5692 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.1588, allocations: 12.25 kB / 0.5692 GB, free: 6.965 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001652/0.1589, allocations: 160.5 kB / 0.5694 GB, free: 6.809 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1589, allocations: 0 / 0.5694 GB, free: 6.809 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005198/0.1594, allocations: 68 kB / 0.5694 GB, free: 6.742 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.001421/0.1609, allocations: 1.278 MB / 0.5707 GB, free: 5.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006965/0.1616, allocations: 264.3 kB / 0.5709 GB, free: 5.172 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1616, allocations: 4 kB / 0.5709 GB, free: 5.168 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.1619, allocations: 132.7 kB / 0.571 GB, free: 5.039 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006933/0.1626, allocations: 42.84 kB / 0.5711 GB, free: 5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005039/0.1676, allocations: 3.515 MB / 0.5745 GB, free: 1.258 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.168, allocations: 0.772 MB / 0.5753 GB, free: 472 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.1682, allocations: 34.95 kB / 0.5753 GB, free: 436 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.1684, allocations: 91.41 kB / 0.5754 GB, free: 344 kB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1684, allocations: 0 / 0.5754 GB, free: 344 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.1988, allocations: 5.414 MB / 0.5807 GB, free: 11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.666/8.865, allocations: 0 / 0.5807 GB, free: 11 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.209870868129656]