Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 113.6 kB / 17.08 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 198.3 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.209/1.209, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1834/0.1834, allocations: 43.51 MB / 314.8 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 71.89 kB / 442.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09047/0.09181, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004718/0.09657, allocations: 4.103 MB / 0.4925 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.09877, allocations: 1.111 MB / 0.4936 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000509/0.09931, allocations: 19.94 kB / 0.4936 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.09971, allocations: 98.95 kB / 0.4937 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000719/0.1005, allocations: 194.2 kB / 0.4939 GB, free: 6.293 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.1011, allocations: 191.6 kB / 0.4941 GB, free: 6.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008265/0.102, allocations: 0.7861 MB / 0.4949 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003554/0.1023, allocations: 247.5 kB / 0.4951 GB, free: 5.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003465/0.1027, allocations: 302.9 kB / 0.4954 GB, free: 4.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003328/0.103, allocations: 342.5 kB / 0.4957 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.744e-05/0.1031, allocations: 60 kB / 0.4958 GB, free: 4.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.1033, allocations: 83.98 kB / 0.4958 GB, free: 4.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.1034, allocations: 147.4 kB / 0.496 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002779/0.1037, allocations: 350.3 kB / 0.4963 GB, free: 3.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000715/0.1044, allocations: 0.759 MB / 0.4971 GB, free: 3.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1044, allocations: 0 / 0.4971 GB, free: 3.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1045, allocations: 4 kB / 0.4971 GB, free: 3.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.1045, allocations: 0 / 0.4971 GB, free: 3.039 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001666/0.1061, allocations: 0.9975 MB / 0.498 GB, free: 1.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1062, allocations: 15.89 kB / 0.498 GB, free: 1.977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.1063, allocations: 84 kB / 0.4981 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.1068, allocations: 393.8 kB / 0.4985 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.1068, allocations: 45.69 kB / 0.4985 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.34e-05/0.1069, allocations: 64.28 kB / 0.4986 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.1079, allocations: 0.6268 MB / 0.4992 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.108, allocations: 19.8 kB / 0.4992 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/0.108, allocations: 20 kB / 0.4993 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.108, allocations: 16 kB / 0.4993 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.1091, allocations: 0.5294 MB / 0.4998 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002689/0.1118, allocations: 2.153 MB / 0.5019 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.1128, allocations: 0.6954 MB / 0.5026 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/0.1134, allocations: 347.1 kB / 0.5029 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.1135, allocations: 93.53 kB / 0.503 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1136, allocations: 50.94 kB / 0.503 GB, free: 12.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.114e-06/0.1136, allocations: 0 / 0.503 GB, free: 12.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.007127/0.1207, allocations: 4.513 MB / 0.5075 GB, free: 7.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/0.1208, allocations: 222.2 kB / 0.5077 GB, free: 7.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.1212, allocations: 357.9 kB / 0.508 GB, free: 7.078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.1212, allocations: 49.64 kB / 0.5081 GB, free: 7.023 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.1214, allocations: 268.9 kB / 0.5083 GB, free: 6.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.1216, allocations: 410 kB / 0.5087 GB, free: 6.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.1218, allocations: 174.9 kB / 0.5089 GB, free: 6.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.122, allocations: 386.8 kB / 0.5092 GB, free: 5.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005814/0.1226, allocations: 318.4 kB / 0.5095 GB, free: 5.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/0.1233, allocations: 0.5004 MB / 0.51 GB, free: 4.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.1246, allocations: 0.8702 MB / 0.5109 GB, free: 3.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1246, allocations: 0 / 0.5109 GB, free: 3.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001604/0.1262, allocations: 1 MB / 0.5119 GB, free: 2.957 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1262, allocations: 15.94 kB / 0.5119 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1263, allocations: 4 kB / 0.5119 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.1263, allocations: 12 kB / 0.5119 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009476/0.1272, allocations: 287.6 kB / 0.5122 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.1273, allocations: 11.94 kB / 0.5122 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.1277, allocations: 48.25 kB / 0.5122 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/0.1277, allocations: 43.98 kB / 0.5123 GB, free: 2.543 MB / 398.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 (144): * Single equations (assignments): 144 * 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.0002659/0.128, allocations: 233.5 kB / 0.5125 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.1282, allocations: 87.03 kB / 0.5126 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.1286, allocations: 210.8 kB / 0.5128 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.1286, allocations: 12 kB / 0.5128 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.1286, allocations: 7.984 kB / 0.5128 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.1287, allocations: 3.984 kB / 0.5128 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/0.1318, allocations: 2.34 MB / 0.5151 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.1319, allocations: 11.92 kB / 0.5151 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009841/0.1329, allocations: 247.7 kB / 0.5153 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.1329, allocations: 8 kB / 0.5153 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.365e-05/0.1329, allocations: 31.92 kB / 0.5154 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/0.1329, allocations: 8 kB / 0.5154 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.133, allocations: 7.938 kB / 0.5154 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.1352, allocations: 1.903 MB / 0.5172 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.1354, allocations: 188.3 kB / 0.5174 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.462e-05/0.1355, allocations: 31.94 kB / 0.5174 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000558/0.136, allocations: 39.97 kB / 0.5175 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.1362, allocations: 88.33 kB / 0.5176 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/0.1363, allocations: 35.98 kB / 0.5176 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002334/0.1365, allocations: 251.2 kB / 0.5178 GB, free: 12.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1365, allocations: 0 / 0.5178 GB, free: 12.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007772/0.1373, allocations: 196.2 kB / 0.518 GB, free: 12.45 MB / 414.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 (115): * Single equations (assignments): 115 * 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.0001654/0.1375, allocations: 139.6 kB / 0.5182 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.1389, allocations: 0.8508 MB / 0.519 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1389, allocations: 4 kB / 0.519 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007257/0.1396, allocations: 495.4 kB / 0.5195 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.1407, allocations: 130.4 kB / 0.5196 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.1437, allocations: 2.221 MB / 0.5218 GB, free: 8.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.1442, allocations: 0.9439 MB / 0.5227 GB, free: 7.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.1445, allocations: 75.41 kB / 0.5228 GB, free: 7.496 MB / 414.1 MB Notification: Performance of SimCode: time 1.533e-06/0.1445, allocations: 0 / 0.5228 GB, free: 7.496 MB / 414.1 MB Notification: Performance of Templates: time 0.2002/0.3447, allocations: 9.094 MB / 0.5316 GB, free: 38.15 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches