Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.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.001387/0.001387, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001488/0.001488, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.517/1.517, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2289/0.2289, allocations: 46.9 MB / 357.4 MB, free: 10.47 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.GenerationOfFMUs,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002377, allocations: 75.88 kB / 0.4912 GB, free: 8.332 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1274, allocations: 66 MB / 0.5557 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007849/0.1353, allocations: 5.793 MB / 0.5613 GB, free: 384 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004647/0.1399, allocations: 2.368 MB / 0.5637 GB, free: 14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008926/0.1408, allocations: 39.75 kB / 0.5637 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006592/0.1415, allocations: 230 kB / 0.5639 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005935/0.1421, allocations: 194.2 kB / 0.5641 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.1433, allocations: 466.9 kB / 0.5645 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001509/0.1448, allocations: 1.106 MB / 0.5656 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008559/0.1457, allocations: 437.5 kB / 0.566 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006339/0.1463, allocations: 374.7 kB / 0.5664 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004889/0.1468, allocations: 402 kB / 0.5668 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.147, allocations: 96 kB / 0.5669 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.1473, allocations: 155.9 kB / 0.567 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.1475, allocations: 219.3 kB / 0.5672 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004913/0.148, allocations: 469.6 kB / 0.5677 GB, free: 9.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.1496, allocations: 1.284 MB / 0.5689 GB, free: 8.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1496, allocations: 0 / 0.5689 GB, free: 8.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1496, allocations: 0 / 0.5689 GB, free: 8.551 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.556e-05/0.1497, allocations: 0 / 0.5689 GB, free: 8.551 MB / 430.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.001813/0.1515, allocations: 1.164 MB / 0.5701 GB, free: 7.336 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1515, allocations: 12.03 kB / 0.5701 GB, free: 7.324 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001593/0.1517, allocations: 139.9 kB / 0.5702 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00028/0.152, allocations: 124.2 kB / 0.5703 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.153, allocations: 0.5984 MB / 0.5709 GB, free: 6.418 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-05/0.1531, allocations: 73.88 kB / 0.571 GB, free: 6.344 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.1532, allocations: 95.95 kB / 0.5711 GB, free: 6.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.1548, allocations: 0.8853 MB / 0.5719 GB, free: 5.305 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.204e-05/0.1548, allocations: 11.94 kB / 0.572 GB, free: 5.293 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.1549, allocations: 36 kB / 0.572 GB, free: 5.258 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.1549, allocations: 24 kB / 0.572 GB, free: 5.234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.156, allocations: 0.5229 MB / 0.5725 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004153/0.1601, allocations: 3.609 MB / 0.576 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006222/0.1608, allocations: 213 kB / 0.5762 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.161, allocations: 96.81 kB / 0.5763 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002649/0.1612, allocations: 251.2 kB / 0.5766 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1613, allocations: 34.56 kB / 0.5766 GB, free: 288 kB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/0.1613, allocations: 0 / 0.5766 GB, free: 288 kB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.002714/0.164, allocations: 1.296 MB / 0.5779 GB, free: 14.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.164, allocations: 59.34 kB / 0.5779 GB, free: 14.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005124/0.1646, allocations: 405.8 kB / 0.5783 GB, free: 14.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.1646, allocations: 33.7 kB / 0.5784 GB, free: 14.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.165, allocations: 483.5 kB / 0.5788 GB, free: 13.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.1651, allocations: 138.8 kB / 0.5789 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.1652, allocations: 102.2 kB / 0.579 GB, free: 13.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1654, allocations: 354.8 kB / 0.5794 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.1656, allocations: 121.1 kB / 0.5795 GB, free: 13.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/0.166, allocations: 306 kB / 0.5798 GB, free: 12.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.1667, allocations: 459.6 kB / 0.5802 GB, free: 12.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1667, allocations: 0 / 0.5802 GB, free: 12.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000905/0.1676, allocations: 0.521 MB / 0.5807 GB, free: 11.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1676, allocations: 12.16 kB / 0.5807 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.1676, allocations: 8 kB / 0.5808 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.1679, allocations: 44.83 kB / 0.5808 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.1683, allocations: 123.8 kB / 0.5809 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004821/0.1687, allocations: 0.5524 MB / 0.5815 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.169, allocations: 19.98 kB / 0.5815 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.169, allocations: 31.94 kB / 0.5815 GB, free: 10.91 MB / 446.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.0003633/0.1694, allocations: 233.7 kB / 0.5817 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.172e-05/0.1695, allocations: 55.61 kB / 0.5818 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006787/0.1702, allocations: 326.9 kB / 0.5821 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.1702, allocations: 3.938 kB / 0.5821 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1702, allocations: 4 kB / 0.5821 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.1702, allocations: 12.02 kB / 0.5821 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.1719, allocations: 1.051 MB / 0.5831 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1719, allocations: 0 / 0.5831 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/0.1723, allocations: 84.05 kB / 0.5832 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001419/0.1725, allocations: 36.78 kB / 0.5833 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.1725, allocations: 8 kB / 0.5833 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004158/0.1729, allocations: 0.5445 MB / 0.5838 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.1729, allocations: 8.031 kB / 0.5838 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008439/0.1738, allocations: 0.5577 MB / 0.5843 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.1739, allocations: 120.8 kB / 0.5845 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.1739, allocations: 12 kB / 0.5845 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.1741, allocations: 15.98 kB / 0.5845 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.1742, allocations: 27.94 kB / 0.5845 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.1742, allocations: 12 kB / 0.5845 GB, free: 7.637 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003092/0.1745, allocations: 271.1 kB / 0.5848 GB, free: 7.375 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1745, allocations: 0 / 0.5848 GB, free: 7.375 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005679/0.1751, allocations: 127.9 kB / 0.5849 GB, free: 7.25 MB / 446.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.001298/0.1764, allocations: 1.123 MB / 0.586 GB, free: 6.078 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007412/0.1771, allocations: 309 kB / 0.5863 GB, free: 5.777 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1771, allocations: 384 / 0.5863 GB, free: 5.777 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.1774, allocations: 135.8 kB / 0.5864 GB, free: 5.645 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.1779, allocations: 75.94 kB / 0.5865 GB, free: 5.574 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007032/0.185, allocations: 4.858 MB / 0.5912 GB, free: 444 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.228/0.413, allocations: 0.9521 MB / 0.5922 GB, free: 35.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002617/0.4132, allocations: 57.14 kB / 0.5922 GB, free: 35.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/0.4136, allocations: 297.3 kB / 0.5925 GB, free: 35.03 MB / 446.1 MB Notification: Performance of SimCode: time 1.352e-06/0.4136, allocations: 0 / 0.5925 GB, free: 35.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05019/0.4638, allocations: 9.499 MB / 0.6018 GB, free: 33.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.08, allocations: 7.875 kB / 0.6018 GB, free: 33.98 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_GenerationOfFMUs.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 16.078561837784946]