Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.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.001349/0.001349, allocations: 119 kB / 18.5 MB, free: 4.434 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.001427/0.001427, allocations: 190.9 kB / 21.44 MB, free: 1.504 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.482/1.482, allocations: 225.6 MB / 249.8 MB, free: 3.613 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.235/0.235, allocations: 44.92 MB / 349.6 MB, free: 1.715 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.GenerationOfFMUs,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 71.22 kB / 491.8 MB, free: 30.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1251, allocations: 64.24 MB / 0.543 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007877/0.133, allocations: 5.786 MB / 0.5486 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004522/0.1375, allocations: 2.302 MB / 0.5509 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.1386, allocations: 43.75 kB / 0.5509 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006588/0.1393, allocations: 230 kB / 0.5511 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006655/0.1399, allocations: 178.3 kB / 0.5513 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.1413, allocations: 462.9 kB / 0.5517 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.1428, allocations: 1.099 MB / 0.5528 GB, free: 9.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007283/0.1435, allocations: 433.5 kB / 0.5532 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005243/0.1441, allocations: 374.6 kB / 0.5536 GB, free: 9.176 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004678/0.1445, allocations: 394 kB / 0.554 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.1446, allocations: 96 kB / 0.5541 GB, free: 8.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.1449, allocations: 159.9 kB / 0.5542 GB, free: 8.539 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.1452, allocations: 215.2 kB / 0.5544 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004506/0.1456, allocations: 469.6 kB / 0.5549 GB, free: 7.867 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.1472, allocations: 1.284 MB / 0.5561 GB, free: 6.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1472, allocations: 0 / 0.5561 GB, free: 6.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1472, allocations: 0 / 0.5561 GB, free: 6.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.511e-05/0.1472, allocations: 0 / 0.5561 GB, free: 6.578 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.00185/0.149, allocations: 1.153 MB / 0.5572 GB, free: 5.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.1491, allocations: 8.031 kB / 0.5572 GB, free: 5.367 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/0.1493, allocations: 143.9 kB / 0.5574 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.1495, allocations: 108.3 kB / 0.5575 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.1506, allocations: 0.5984 MB / 0.5581 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.856e-05/0.1507, allocations: 66 kB / 0.5581 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.1508, allocations: 95.95 kB / 0.5582 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.1525, allocations: 0.8853 MB / 0.5591 GB, free: 3.367 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.057e-05/0.1525, allocations: 11.95 kB / 0.5591 GB, free: 3.355 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.132e-05/0.1526, allocations: 36 kB / 0.5591 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/0.1526, allocations: 24 kB / 0.5592 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.1537, allocations: 0.5268 MB / 0.5597 GB, free: 2.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004334/0.158, allocations: 3.612 MB / 0.5632 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006254/0.1587, allocations: 208.3 kB / 0.5634 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.1589, allocations: 100.8 kB / 0.5635 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.1591, allocations: 247.3 kB / 0.5637 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.1592, allocations: 34.56 kB / 0.5638 GB, free: 14.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.294e-06/0.1592, allocations: 0 / 0.5638 GB, free: 14.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.002692/0.1619, allocations: 1.305 MB / 0.565 GB, free: 12.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.1619, allocations: 59.34 kB / 0.5651 GB, free: 12.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005032/0.1624, allocations: 405.8 kB / 0.5655 GB, free: 12.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.1624, allocations: 33.7 kB / 0.5655 GB, free: 12.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/0.1629, allocations: 479.5 kB / 0.566 GB, free: 11.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.163, allocations: 146.7 kB / 0.5661 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.1631, allocations: 98.2 kB / 0.5662 GB, free: 11.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1633, allocations: 362.8 kB / 0.5666 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.1635, allocations: 113.1 kB / 0.5667 GB, free: 11.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.1639, allocations: 310.2 kB / 0.567 GB, free: 10.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006198/0.1645, allocations: 451.9 kB / 0.5674 GB, free: 10.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1646, allocations: 0 / 0.5674 GB, free: 10.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008802/0.1654, allocations: 0.5217 MB / 0.5679 GB, free: 9.793 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.1655, allocations: 8 kB / 0.5679 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.1655, allocations: 4 kB / 0.5679 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/0.1657, allocations: 40.83 kB / 0.5679 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.1661, allocations: 135.7 kB / 0.5681 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004507/0.1666, allocations: 0.5487 MB / 0.5686 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.1668, allocations: 24.06 kB / 0.5686 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.1668, allocations: 28 kB / 0.5687 GB, free: 8.98 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003563/0.1672, allocations: 225.6 kB / 0.5689 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.602e-05/0.1673, allocations: 55.61 kB / 0.5689 GB, free: 8.695 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006758/0.168, allocations: 339 kB / 0.5693 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.168, allocations: 4 kB / 0.5693 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.168, allocations: 0 / 0.5693 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.168, allocations: 0 / 0.5693 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.1696, allocations: 1.05 MB / 0.5703 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.1696, allocations: 3.984 kB / 0.5703 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/0.17, allocations: 83.84 kB / 0.5704 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001559/0.1701, allocations: 32.78 kB / 0.5704 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.1702, allocations: 15.92 kB / 0.5704 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003934/0.1706, allocations: 0.5524 MB / 0.571 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1706, allocations: 0 / 0.571 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008633/0.1714, allocations: 0.5564 MB / 0.5715 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.1716, allocations: 124.8 kB / 0.5716 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.1716, allocations: 12 kB / 0.5716 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.1718, allocations: 8 kB / 0.5716 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.1718, allocations: 27.91 kB / 0.5717 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.1719, allocations: 8 kB / 0.5717 GB, free: 5.715 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003117/0.1722, allocations: 271.1 kB / 0.5719 GB, free: 5.453 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1722, allocations: 0 / 0.5719 GB, free: 5.453 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005861/0.1728, allocations: 127.9 kB / 0.572 GB, free: 5.328 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * 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 (33): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001231/0.174, allocations: 1.11 MB / 0.5731 GB, free: 4.172 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007504/0.1747, allocations: 322 kB / 0.5734 GB, free: 3.859 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1747, allocations: 0 / 0.5734 GB, free: 3.859 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.175, allocations: 129.1 kB / 0.5736 GB, free: 3.734 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.1756, allocations: 80.39 kB / 0.5736 GB, free: 3.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007261/0.1829, allocations: 4.846 MB / 0.5784 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/0.1836, allocations: 0.9639 MB / 0.5793 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002177/0.1838, allocations: 56.55 kB / 0.5794 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003675/0.1842, allocations: 295.3 kB / 0.5796 GB, free: 13.19 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/0.1842, allocations: 4 kB / 0.5797 GB, free: 13.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04795/0.2321, allocations: 9.475 MB / 0.5889 GB, free: 3.848 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.65, allocations: 3.938 kB / 0.5889 GB, free: 3.844 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_GenerationOfFMUs.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.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.764182317070663]