Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.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.0008483/0.0008483, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003585/0.003585, allocations: 166.4 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.827/0.827, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.499e-05, allocations: 2.281 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.0022/0.002215, allocations: 2.13 MB / 300.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004406/0.002655, allocations: 187.3 kB / 300.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.075e-05/0.002736, allocations: 8 kB / 300.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.661e-05/0.002803, allocations: 35.64 kB / 300.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.002924, allocations: 63.36 kB / 300.8 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.00307, allocations: 51.92 kB / 300.9 MB, free: 1.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.003236, allocations: 238.8 kB / 301.1 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.003394, allocations: 75.02 kB / 301.2 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.003523, allocations: 139.7 kB / 301.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.959e-05/0.003622, allocations: 75.78 kB / 301.4 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.003658, allocations: 27.98 kB / 301.4 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.322e-05/0.003681, allocations: 20 kB / 301.5 MB, free: 492 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.181e-05/0.003713, allocations: 47.83 kB / 301.5 MB, free: 444 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.003765, allocations: 75.83 kB / 301.6 MB, free: 368 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.003967, allocations: 267.1 kB / 301.8 MB, free: 100 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.00397, allocations: 0 / 301.8 MB, free: 100 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.003971, allocations: 0 / 301.8 MB, free: 100 kB / 282.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.003976, allocations: 0 / 301.8 MB, free: 100 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.1252/0.1292, allocations: 441.2 kB / 302.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1292, allocations: 13.92 kB / 302.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.1293, allocations: 54.55 kB / 302.3 MB, free: 14.42 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.1293, allocations: 30.47 kB / 302.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.1295, allocations: 159.5 kB / 302.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.1295, allocations: 18 kB / 302.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.1295, allocations: 22.84 kB / 302.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.1298, allocations: 233.3 kB / 302.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1298, allocations: 1.938 kB / 302.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.1298, allocations: 13.03 kB / 302.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.1298, allocations: 9.688 kB / 302.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.13, allocations: 132 kB / 302.9 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007222/0.1307, allocations: 0.7784 MB / 303.7 MB, free: 13.69 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.1309, allocations: 155.2 kB / 303.9 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.281e-05/0.1309, allocations: 56.67 kB / 303.9 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.131, allocations: 4.125 kB / 303.9 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.131, allocations: 40.25 kB / 304 MB, free: 13.55 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.462e-06/0.131, allocations: 1.969 kB / 304 MB, free: 13.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002738/0.1312, allocations: 170.3 kB / 304.1 MB, free: 13.51 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.1313, allocations: 106 kB / 304.2 MB, free: 13.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.1314, allocations: 205 kB / 304.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.1314, allocations: 33.14 kB / 304.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.1315, allocations: 157.2 kB / 304.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.1315, allocations: 70.75 kB / 304.7 MB, free: 13.08 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.1315, allocations: 53.62 kB / 304.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.424e-05/0.1316, allocations: 326.9 kB / 305.1 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.099e-05/0.1316, allocations: 49.27 kB / 305.1 MB, free: 12.74 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.788e-05/0.1317, allocations: 163.7 kB / 305.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.1319, allocations: 222.7 kB / 305.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1319, allocations: 1.281 kB / 305.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000245/0.1321, allocations: 246.8 kB / 305.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1322, allocations: 5.594 kB / 305.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1322, allocations: 4.281 kB / 305.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.1322, allocations: 10.72 kB / 305.8 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.1323, allocations: 60.72 kB / 305.8 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1323, allocations: 8.438 kB / 305.8 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.334e-05/0.1324, allocations: 28.67 kB / 305.9 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.1324, allocations: 14.28 kB / 305.9 MB, free: 12.26 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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 6.592e-05/0.1325, allocations: 146.4 kB / 306 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.1325, allocations: 16.91 kB / 306 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.1326, allocations: 23.59 kB / 306.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1326, allocations: 7.562 kB / 306.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1326, allocations: 4.75 kB / 306.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1326, allocations: 5.875 kB / 306.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.1329, allocations: 375.6 kB / 306.4 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1329, allocations: 5.281 kB / 306.4 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.133, allocations: 38.17 kB / 306.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.133, allocations: 2.188 kB / 306.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.133, allocations: 2.812 kB / 306.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.133, allocations: 7.641 kB / 306.5 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.133, allocations: 5.438 kB / 306.5 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.1333, allocations: 374.7 kB / 306.9 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.1333, allocations: 19.7 kB / 306.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.1333, allocations: 12.23 kB / 306.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.1334, allocations: 5.781 kB / 306.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.1334, allocations: 10.91 kB / 306.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.1334, allocations: 4.797 kB / 306.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.894e-05/0.1335, allocations: 140.4 kB / 307.1 MB, free: 11.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1335, allocations: 0 / 307.1 MB, free: 11.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002375/0.1337, allocations: 56.7 kB / 307.1 MB, free: 11.31 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * 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 (17): * Single equations (assignments): 17 * 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.0003191/0.134, allocations: 0.9009 MB / 308 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.1342, allocations: 137.1 kB / 308.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1342, allocations: 0 / 308.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.251e-05/0.1343, allocations: 55.44 kB / 308.2 MB, free: 10.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.1347, allocations: 37.95 kB / 308.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.1365, allocations: 2.471 MB / 310.7 MB, free: 8.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.1366, allocations: 127.5 kB / 310.8 MB, free: 8.328 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.407e-05/0.1367, allocations: 21.33 kB / 310.8 MB, free: 8.324 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.505e-05/0.1368, allocations: 55.55 kB / 310.9 MB, free: 8.285 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1368, allocations: 0 / 310.9 MB, free: 8.285 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.1571, allocations: 4.447 MB / 315.3 MB, free: 6.969 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.867/7.024, allocations: 9.172 kB / 315.4 MB, free: 6.961 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.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: 8.527499458752573]