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.00133/0.00133, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.001341, allocations: 79.88 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1133, allocations: 62.45 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005344/0.1187, allocations: 4.163 MB / 485.6 MB, free: 376 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.121, allocations: 1.172 MB / 486.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.1212, allocations: 19.88 kB / 486.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.1215, allocations: 98.95 kB / 486.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003671/0.1219, allocations: 202.1 kB / 487.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.1224, allocations: 231.6 kB / 487.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007913/0.1232, allocations: 0.7978 MB / 488.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003698/0.1236, allocations: 235.5 kB / 488.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004448/0.1241, allocations: 318.8 kB / 488.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.1245, allocations: 342.5 kB / 489 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.912e-05/0.1246, allocations: 59.94 kB / 489.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.1247, allocations: 87.98 kB / 489.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.1249, allocations: 155.4 kB / 489.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003197/0.1252, allocations: 354.2 kB / 489.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007421/0.126, allocations: 0.7901 MB / 490.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.126, allocations: 0 / 490.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.126, allocations: 0 / 490.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.126, allocations: 0 / 490.4 MB, free: 11.53 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.001805/0.1278, allocations: 1.009 MB / 491.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1279, allocations: 8.031 kB / 491.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006331/0.1285, allocations: 139.9 kB / 491.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005719/0.1291, allocations: 441.5 kB / 492 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.1291, allocations: 41.69 kB / 492.1 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-05/0.1292, allocations: 64.28 kB / 492.1 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.1303, allocations: 0.6232 MB / 492.8 MB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/0.1304, allocations: 15.89 kB / 492.8 MB, free: 9.086 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.896e-05/0.1304, allocations: 20 kB / 492.8 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.1304, allocations: 20 kB / 492.8 MB, free: 9.047 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.1315, allocations: 0.5151 MB / 493.3 MB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/0.1344, allocations: 2.167 MB / 495.5 MB, free: 6.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.1355, allocations: 0.6837 MB / 496.2 MB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005387/0.1361, allocations: 343 kB / 496.5 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.1362, allocations: 89.55 kB / 496.6 MB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.1363, allocations: 50.94 kB / 496.6 MB, free: 4.977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 2.746e-06/0.1363, allocations: 4 kB / 496.6 MB, free: 4.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.00739/0.1437, allocations: 4.481 MB / 0.4894 GB, free: 140 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.1439, allocations: 226.2 kB / 0.4896 GB, free: 15.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.1443, allocations: 387.3 kB / 0.49 GB, free: 15.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.968e-05/0.1443, allocations: 41.7 kB / 0.49 GB, free: 15.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.1445, allocations: 285 kB / 0.4903 GB, free: 15.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.1448, allocations: 414 kB / 0.4907 GB, free: 14.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.145, allocations: 179 kB / 0.4908 GB, free: 14.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1452, allocations: 382.8 kB / 0.4912 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005602/0.1457, allocations: 310.4 kB / 0.4915 GB, free: 13.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006863/0.1464, allocations: 0.4965 MB / 0.492 GB, free: 13.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.1477, allocations: 0.8587 MB / 0.4928 GB, free: 12.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.1477, allocations: 4 kB / 0.4928 GB, free: 12.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001607/0.1493, allocations: 0.9918 MB / 0.4938 GB, free: 11.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.1494, allocations: 12.42 kB / 0.4938 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.1494, allocations: 8 kB / 0.4938 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.1494, allocations: 12 kB / 0.4938 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000974/0.1504, allocations: 275.6 kB / 0.4941 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/0.1504, allocations: 11.94 kB / 0.4941 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.1508, allocations: 43.98 kB / 0.4941 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.837e-05/0.1509, allocations: 43.98 kB / 0.4942 GB, free: 10.98 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.0002905/0.1512, allocations: 237.5 kB / 0.4944 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.1514, allocations: 79.09 kB / 0.4945 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.1519, allocations: 219 kB / 0.4947 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.1519, allocations: 12 kB / 0.4947 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.1519, allocations: 4 kB / 0.4947 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.1519, allocations: 12.11 kB / 0.4947 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003298/0.1552, allocations: 2.333 MB / 0.497 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.1553, allocations: 8.156 kB / 0.497 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009871/0.1563, allocations: 255.9 kB / 0.4973 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.1563, allocations: 11.94 kB / 0.4973 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/0.1563, allocations: 27.98 kB / 0.4973 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.247e-06/0.1564, allocations: 8 kB / 0.4973 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.1564, allocations: 8.016 kB / 0.4973 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.1586, allocations: 1.878 MB / 0.4991 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.1589, allocations: 208.1 kB / 0.4993 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.327e-05/0.159, allocations: 24 kB / 0.4994 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.1596, allocations: 35.97 kB / 0.4994 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.1597, allocations: 92.33 kB / 0.4995 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.418e-05/0.1598, allocations: 28 kB / 0.4995 GB, free: 5.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002488/0.1601, allocations: 271.1 kB / 0.4998 GB, free: 5.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1601, allocations: 0 / 0.4998 GB, free: 5.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008397/0.1609, allocations: 192 kB / 0.5 GB, free: 4.891 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.0001981/0.1611, allocations: 143.1 kB / 0.5001 GB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.1626, allocations: 0.8345 MB / 0.5009 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1626, allocations: 0 / 0.5009 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008549/0.1634, allocations: 492.1 kB / 0.5014 GB, free: 3.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.1646, allocations: 142.9 kB / 0.5015 GB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.1678, allocations: 2.204 MB / 0.5037 GB, free: 1.016 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/0.1684, allocations: 0.9518 MB / 0.5046 GB, free: 36 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.1765/0.3449, allocations: 97.75 kB / 0.5047 GB, free: 40.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.3451, allocations: 65.91 kB / 0.5048 GB, free: 40.2 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3451, allocations: 0 / 0.5048 GB, free: 40.2 MB / 382.1 MB Notification: Performance of Templates: time 0.01579/0.3609, allocations: 7.401 MB / 0.512 GB, free: 39.95 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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches