Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.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) 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(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00119/0.00119, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001308, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 247.4 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.45 kB / 307.6 MB, free: 0.6562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1056, allocations: 50.54 MB / 358.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004196/0.1098, allocations: 2.414 MB / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007826/0.1106, allocations: 247 kB / 360.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002596/0.1109, allocations: 7.938 kB / 360.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.1112, allocations: 43.58 kB / 360.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.1114, allocations: 87.25 kB / 360.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.1117, allocations: 55.92 kB / 361 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000375/0.112, allocations: 290.6 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.1123, allocations: 101.7 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.1124, allocations: 107.6 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.1126, allocations: 119.5 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.1127, allocations: 24 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.366e-05/0.1128, allocations: 24 kB / 361.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.1128, allocations: 47.78 kB / 361.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.113, allocations: 135.3 kB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.1133, allocations: 283.2 kB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1133, allocations: 0 / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1133, allocations: 0 / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.1133, allocations: 8 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008596/0.1142, allocations: 0.5381 MB / 362.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1142, allocations: 12.03 kB / 362.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.893e-05/0.1143, allocations: 28.56 kB / 362.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.1146, allocations: 246.2 kB / 362.9 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.1146, allocations: 20.88 kB / 363 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/0.1147, allocations: 28.28 kB / 363 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004151/0.1151, allocations: 244 kB / 363.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.1152, allocations: 8.125 kB / 363.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.1152, allocations: 7.938 kB / 363.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.1152, allocations: 8 kB / 363.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.1155, allocations: 159.8 kB / 363.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.1166, allocations: 0.7967 MB / 364.2 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.1172, allocations: 303.7 kB / 364.5 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.1175, allocations: 134.5 kB / 364.6 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1175, allocations: 4 kB / 364.6 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1175, allocations: 38.56 kB / 364.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.1175, allocations: 0 / 364.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.00282/0.1204, allocations: 1.951 MB / 366.6 MB, free: 5.176 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.1204, allocations: 106.8 kB / 366.7 MB, free: 5.047 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.1206, allocations: 190.6 kB / 366.9 MB, free: 4.844 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.1207, allocations: 33.7 kB / 366.9 MB, free: 4.805 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.204e-05/0.1208, allocations: 136.8 kB / 367.1 MB, free: 4.664 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.121, allocations: 161.6 kB / 367.2 MB, free: 4.504 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/0.1211, allocations: 74.12 kB / 367.3 MB, free: 4.426 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1212, allocations: 334.8 kB / 367.6 MB, free: 4.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.1215, allocations: 92.84 kB / 367.7 MB, free: 4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.1217, allocations: 162.4 kB / 367.9 MB, free: 3.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.1221, allocations: 280.3 kB / 368.2 MB, free: 3.523 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1221, allocations: 0 / 368.2 MB, free: 3.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005113/0.1226, allocations: 343.9 kB / 368.5 MB, free: 3.184 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.1226, allocations: 11.94 kB / 368.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1226, allocations: 0 / 368.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.1227, allocations: 4 kB / 368.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.123, allocations: 91.91 kB / 368.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.123, allocations: 0 / 368.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.1232, allocations: 16.09 kB / 368.6 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.1232, allocations: 23.92 kB / 368.6 MB, free: 3.039 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0001461/0.1233, allocations: 145.8 kB / 368.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.323e-05/0.1234, allocations: 31.66 kB / 368.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.554e-05/0.1235, allocations: 33.88 kB / 368.8 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1235, allocations: 4 kB / 368.8 MB, free: 2.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.1236, allocations: 7.984 kB / 368.9 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1236, allocations: 0 / 368.9 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.125, allocations: 1.058 MB / 369.9 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.1251, allocations: 4 kB / 369.9 MB, free: 1.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/0.1254, allocations: 87.89 kB / 370 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.1254, allocations: 8.219 kB / 370 MB, free: 1.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.1255, allocations: 16 kB / 370 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.034e-06/0.1255, allocations: 4 kB / 370 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.1255, allocations: 11.92 kB / 370 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008022/0.1263, allocations: 0.7134 MB / 370.8 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-05/0.1264, allocations: 108.9 kB / 370.9 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.1265, allocations: 16.05 kB / 370.9 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.1267, allocations: 16 kB / 370.9 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.1267, allocations: 35.91 kB / 370.9 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.1268, allocations: 8 kB / 370.9 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1269, allocations: 140.9 kB / 371.1 MB, free: 460 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1269, allocations: 0 / 371.1 MB, free: 460 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004457/0.1273, allocations: 79.94 kB / 371.1 MB, free: 380 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.00015/0.1275, allocations: 118.2 kB / 371.3 MB, free: 256 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1491/0.2766, allocations: 285.5 kB / 371.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.2767, allocations: 4.5 kB / 371.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.2769, allocations: 141.7 kB / 371.7 MB, free: 20.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009288/0.2779, allocations: 60.73 kB / 371.7 MB, free: 20.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.2793, allocations: 0.9446 MB / 372.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.2795, allocations: 0.7675 MB / 373.5 MB, free: 18.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.605e-05/0.2796, allocations: 30 kB / 373.5 MB, free: 18.95 MB / 302.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2796, allocations: 0 / 373.5 MB, free: 18.95 MB / 302.1 MB Notification: Performance of Templates: time 0.00647/0.2861, allocations: 3.446 MB / 376.9 MB, free: 18.66 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches