Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001079/0.001079, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3344/0.3344, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001394, allocations: 81.39 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1316, allocations: 62.44 MB / 480 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005249/0.1369, allocations: 4.171 MB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.1391, allocations: 1.172 MB / 485.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003479/0.1395, allocations: 15.88 kB / 485.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.1398, allocations: 103 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004222/0.1402, allocations: 206.1 kB / 485.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005971/0.1408, allocations: 227.6 kB / 485.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007718/0.1416, allocations: 0.794 MB / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003592/0.142, allocations: 235.5 kB / 486.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003887/0.1424, allocations: 306.9 kB / 487.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/0.1428, allocations: 358.3 kB / 487.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.675e-05/0.1429, allocations: 56 kB / 487.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.1431, allocations: 91.98 kB / 487.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.1432, allocations: 151.4 kB / 487.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.1435, allocations: 350.2 kB / 488.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000719/0.1442, allocations: 0.7709 MB / 489 MB, free: 12.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1442, allocations: 0 / 489 MB, free: 12.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1443, allocations: 0 / 489 MB, free: 12.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1443, allocations: 0 / 489 MB, free: 12.28 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001803/0.1461, allocations: 1.009 MB / 490 MB, free: 11.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1461, allocations: 12.03 kB / 490 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006454/0.1468, allocations: 139.9 kB / 490.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/0.1473, allocations: 425.6 kB / 490.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.1474, allocations: 45.69 kB / 490.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.491e-05/0.1475, allocations: 64.28 kB / 490.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.1485, allocations: 0.6232 MB / 491.3 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.1486, allocations: 11.91 kB / 491.3 MB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.326e-05/0.1486, allocations: 24 kB / 491.3 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.1487, allocations: 12 kB / 491.3 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.1497, allocations: 0.5229 MB / 491.8 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003098/0.1529, allocations: 2.174 MB / 494 MB, free: 7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.1541, allocations: 0.6837 MB / 494.7 MB, free: 6.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000576/0.1546, allocations: 338.4 kB / 495 MB, free: 5.902 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.1548, allocations: 101.5 kB / 495.1 MB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.1549, allocations: 50.94 kB / 495.2 MB, free: 5.723 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 2.225e-06/0.1549, allocations: 0 / 495.2 MB, free: 5.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.007893/0.1628, allocations: 4.496 MB / 499.7 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.1629, allocations: 226.2 kB / 499.9 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004354/0.1633, allocations: 385.9 kB / 0.4885 GB, free: 232 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.1634, allocations: 45.7 kB / 0.4886 GB, free: 180 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.1636, allocations: 281.1 kB / 0.4889 GB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/0.1639, allocations: 413.9 kB / 0.4893 GB, free: 15.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/0.1642, allocations: 175 kB / 0.4894 GB, free: 15.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.1644, allocations: 382.8 kB / 0.4898 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000602/0.165, allocations: 310.4 kB / 0.4901 GB, free: 14.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000773/0.1658, allocations: 0.5082 MB / 0.4906 GB, free: 14.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.1673, allocations: 0.8433 MB / 0.4914 GB, free: 13.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.1673, allocations: 4 kB / 0.4914 GB, free: 13.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001674/0.169, allocations: 1.007 MB / 0.4924 GB, free: 12.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.169, allocations: 12.09 kB / 0.4924 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.169, allocations: 4 kB / 0.4924 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.169, allocations: 12 kB / 0.4924 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000975/0.17, allocations: 279.6 kB / 0.4927 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.1701, allocations: 12 kB / 0.4927 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004281/0.1705, allocations: 39.97 kB / 0.4927 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.768e-05/0.1706, allocations: 40.28 kB / 0.4928 GB, free: 11.72 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * 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.0003192/0.1709, allocations: 241.5 kB / 0.493 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.1711, allocations: 79.09 kB / 0.4931 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.1716, allocations: 218.9 kB / 0.4933 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.1716, allocations: 16 kB / 0.4933 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.1716, allocations: 3.984 kB / 0.4933 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.1716, allocations: 7.984 kB / 0.4933 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003668/0.1753, allocations: 2.343 MB / 0.4956 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.1753, allocations: 4 kB / 0.4956 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.1763, allocations: 247.7 kB / 0.4958 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/0.1764, allocations: 11.94 kB / 0.4959 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-05/0.1764, allocations: 28 kB / 0.4959 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/0.1764, allocations: 11.94 kB / 0.4959 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.1764, allocations: 8.078 kB / 0.4959 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.1789, allocations: 1.881 MB / 0.4977 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.1792, allocations: 200.1 kB / 0.4979 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.1793, allocations: 28 kB / 0.498 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/0.1799, allocations: 39.97 kB / 0.498 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.1801, allocations: 84.39 kB / 0.4981 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.525e-05/0.1802, allocations: 35.98 kB / 0.4981 GB, free: 6.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002835/0.1804, allocations: 275 kB / 0.4984 GB, free: 5.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1804, allocations: 0 / 0.4984 GB, free: 5.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008522/0.1813, allocations: 200 kB / 0.4986 GB, free: 5.609 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 116 * 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.0002269/0.1815, allocations: 131.3 kB / 0.4987 GB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.1834, allocations: 0.882 MB / 0.4995 GB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.1834, allocations: 0 / 0.4995 GB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007987/0.1842, allocations: 490.6 kB / 0.5 GB, free: 4.117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.1854, allocations: 143 kB / 0.5001 GB, free: 3.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.1889, allocations: 2.22 MB / 0.5023 GB, free: 1.684 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.1894, allocations: 0.9479 MB / 0.5032 GB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000418/0.1898, allocations: 105.9 kB / 0.5033 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.19, allocations: 67.42 kB / 0.5034 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.19, allocations: 4 kB / 0.5034 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of Templates: time 0.2317/0.4218, allocations: 7.39 MB / 0.5106 GB, free: 40.18 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches