Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.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.001285/0.001285, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001422/0.001422, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.514/1.514, 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.2449/0.2449, allocations: 46.9 MB / 357.4 MB, free: 10.48 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.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 79.88 kB / 0.4912 GB, free: 8.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1331, allocations: 65.99 MB / 0.5557 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004702/0.1378, allocations: 3.083 MB / 0.5587 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.1388, allocations: 418.5 kB / 0.5591 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002715/0.1391, allocations: 8 kB / 0.5591 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.1393, allocations: 63.31 kB / 0.5592 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004195/0.1397, allocations: 170.5 kB / 0.5593 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.14, allocations: 107.9 kB / 0.5594 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000683/0.1407, allocations: 0.5403 MB / 0.56 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002682/0.141, allocations: 112.9 kB / 0.5601 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.1413, allocations: 203.3 kB / 0.5603 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.1416, allocations: 219 kB / 0.5605 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.882e-05/0.1417, allocations: 40 kB / 0.5605 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.254e-05/0.1418, allocations: 44 kB / 0.5605 GB, free: 1.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.152e-05/0.1418, allocations: 91.69 kB / 0.5606 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000246/0.1421, allocations: 254.8 kB / 0.5609 GB, free: 0.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006619/0.1427, allocations: 0.5252 MB / 0.5614 GB, free: 356 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1427, allocations: 0 / 0.5614 GB, free: 356 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1428, allocations: 0 / 0.5614 GB, free: 356 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.1428, allocations: 3.938 kB / 0.5614 GB, free: 352 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001121/0.1439, allocations: 0.7285 MB / 0.5621 GB, free: 15.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.1439, allocations: 12.03 kB / 0.5621 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.312e-05/0.144, allocations: 82.7 kB / 0.5622 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.599e-05/0.1441, allocations: 60.61 kB / 0.5623 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.1445, allocations: 287.7 kB / 0.5625 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.1445, allocations: 37.38 kB / 0.5626 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.457e-05/0.1446, allocations: 52.33 kB / 0.5626 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007332/0.1453, allocations: 458.7 kB / 0.563 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.984e-05/0.1454, allocations: 15.88 kB / 0.5631 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.674e-05/0.1454, allocations: 24 kB / 0.5631 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.1455, allocations: 12 kB / 0.5631 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004867/0.1459, allocations: 251.7 kB / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002962/0.1489, allocations: 1.7 MB / 0.565 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006063/0.1495, allocations: 391.4 kB / 0.5654 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.1497, allocations: 160.3 kB / 0.5655 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.1498, allocations: 11.98 kB / 0.5655 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.1498, allocations: 50.5 kB / 0.5656 GB, free: 11.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 2.886e-06/0.1498, allocations: 0 / 0.5656 GB, free: 11.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008038/0.1506, allocations: 353.1 kB / 0.5659 GB, free: 11.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.1508, allocations: 269.4 kB / 0.5662 GB, free: 11.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.151, allocations: 258.9 kB / 0.5664 GB, free: 10.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.1511, allocations: 33.7 kB / 0.5665 GB, free: 10.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.1513, allocations: 248.2 kB / 0.5667 GB, free: 10.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.1514, allocations: 194.4 kB / 0.5669 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.1516, allocations: 110.6 kB / 0.567 GB, free: 10.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1517, allocations: 346.8 kB / 0.5673 GB, free: 9.836 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.1519, allocations: 118 kB / 0.5674 GB, free: 9.723 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/0.1524, allocations: 425.6 kB / 0.5678 GB, free: 9.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007055/0.1531, allocations: 0.5737 MB / 0.5684 GB, free: 8.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.1531, allocations: 0 / 0.5684 GB, free: 8.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009226/0.154, allocations: 0.5717 MB / 0.569 GB, free: 7.879 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.154, allocations: 12 kB / 0.569 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.1541, allocations: 8 kB / 0.569 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.441e-05/0.1541, allocations: 19.94 kB / 0.569 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.1547, allocations: 175.7 kB / 0.5692 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.669e-05/0.1547, allocations: 23.86 kB / 0.5692 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.155, allocations: 67.52 kB / 0.5692 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.155, allocations: 32 kB / 0.5693 GB, free: 7.547 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0002314/0.1553, allocations: 185.8 kB / 0.5695 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.1555, allocations: 39.77 kB / 0.5695 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.79e-05/0.1556, allocations: 45.64 kB / 0.5695 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.1556, allocations: 11.94 kB / 0.5695 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.1556, allocations: 4 kB / 0.5695 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.1556, allocations: 3.984 kB / 0.5696 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.1567, allocations: 417.2 kB / 0.57 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.1567, allocations: 4 kB / 0.57 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/0.1573, allocations: 119.9 kB / 0.5701 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.1573, allocations: 8 kB / 0.5701 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.1573, allocations: 16 kB / 0.5701 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.091e-05/0.1573, allocations: 7.938 kB / 0.5701 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.1573, allocations: 4.062 kB / 0.5701 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.1584, allocations: 1.086 MB / 0.5712 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.1585, allocations: 116.8 kB / 0.5713 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.637e-05/0.1586, allocations: 19.94 kB / 0.5713 GB, free: 5.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.159, allocations: 4 kB / 0.5713 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.159, allocations: 35.91 kB / 0.5713 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.159, allocations: 19.98 kB / 0.5714 GB, free: 5.316 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.1592, allocations: 166 kB / 0.5715 GB, free: 5.156 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1592, allocations: 0 / 0.5715 GB, free: 5.156 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009306/0.1602, allocations: 139.7 kB / 0.5716 GB, free: 5.02 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * 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.001502/0.1617, allocations: 1.631 MB / 0.5732 GB, free: 3.352 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007143/0.1624, allocations: 333.4 kB / 0.5736 GB, free: 3.027 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1624, allocations: 192 / 0.5736 GB, free: 3.027 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.1626, allocations: 128.8 kB / 0.5737 GB, free: 2.902 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.1639, allocations: 99.81 kB / 0.5738 GB, free: 2.809 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007352/0.1712, allocations: 5.618 MB / 0.5793 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.1717, allocations: 0.8275 MB / 0.5801 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002163/0.172, allocations: 52.14 kB / 0.5801 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.1722, allocations: 139.4 kB / 0.5802 GB, free: 11.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.204e-06/0.1722, allocations: 0 / 0.5802 GB, free: 11.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03916/0.2113, allocations: 8.384 MB / 0.5884 GB, free: 3.523 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.107/9.318, allocations: 18.48 kB / 0.5885 GB, free: 3.508 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.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.751783930230886]