Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.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.001818/0.001818, allocations: 87.67 kB / 20.96 MB, free: 3.441 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.001931/0.001931, allocations: 161.3 kB / 24.27 MB, free: 136 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.525e-05/3.692e-05, allocations: 2.312 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.004921/0.004958, allocations: 2.106 MB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005418/0.0055, allocations: 163.4 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.005624, allocations: 11.88 kB / 274.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.005815, allocations: 31.72 kB / 274.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.005959, allocations: 47.55 kB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.006165, allocations: 35.95 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.006496, allocations: 187 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.006692, allocations: 54.38 kB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.006891, allocations: 107.8 kB / 275 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.007046, allocations: 51.86 kB / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.464e-05/0.007091, allocations: 12 kB / 275.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.521e-05/0.007136, allocations: 12 kB / 275.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.71e-05/0.007193, allocations: 35.84 kB / 275.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.0073, allocations: 55.91 kB / 275.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.007668, allocations: 179.3 kB / 275.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.007672, allocations: 0 / 275.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.007673, allocations: 0 / 275.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.007679, allocations: 0 / 275.4 MB, free: 14.76 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000907/0.008586, allocations: 0.4917 MB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.008627, allocations: 8.031 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.7e-05/0.008724, allocations: 36.8 kB / 275.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.009022, allocations: 160.3 kB / 276.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.009045, allocations: 16.31 kB / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.009098, allocations: 24.33 kB / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/0.009539, allocations: 200.5 kB / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.009557, allocations: 192 / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.009581, allocations: 8.375 kB / 276.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.009594, allocations: 12.12 kB / 276.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.009866, allocations: 99.88 kB / 276.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.01201, allocations: 1.113 MB / 277.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.01226, allocations: 129.3 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.01236, allocations: 47.06 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.01238, allocations: 4 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/0.01243, allocations: 45.47 kB / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.854e-06/0.01244, allocations: 7.938 kB / 277.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004488/0.01288, allocations: 125.5 kB / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.791e-05/0.01297, allocations: 102.8 kB / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.01327, allocations: 244.4 kB / 278.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.0133, allocations: 25.7 kB / 278.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.01349, allocations: 198.9 kB / 278.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.228e-05/0.01356, allocations: 55.53 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.01366, allocations: 51.59 kB / 278.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003207/0.01399, allocations: 0.504 MB / 279 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.0141, allocations: 44.44 kB / 279.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.01439, allocations: 195.8 kB / 279.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.01483, allocations: 250.7 kB / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01483, allocations: 0 / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000551/0.01538, allocations: 221.8 kB / 279.7 MB, free: 9.941 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.01541, allocations: 8.406 kB / 279.7 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.01542, allocations: 8 kB / 279.8 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.01544, allocations: 4 kB / 279.8 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.0157, allocations: 51.91 kB / 279.8 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.01572, allocations: 7.938 kB / 279.8 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.01589, allocations: 23.84 kB / 279.8 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.01592, allocations: 12 kB / 279.9 MB, free: 9.828 MB / 266.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 (28): * Single equations (assignments): 28 * 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.0001967/0.01612, allocations: 188.4 kB / 280 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.01623, allocations: 19.97 kB / 280.1 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.825e-05/0.01629, allocations: 20.33 kB / 280.1 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.0163, allocations: 4 kB / 280.1 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.01631, allocations: 8 kB / 280.1 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01631, allocations: 0 / 280.1 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.01689, allocations: 204.5 kB / 280.3 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01689, allocations: 0 / 280.3 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.0171, allocations: 27.98 kB / 280.3 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.01711, allocations: 4 kB / 280.3 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.01712, allocations: 0 / 280.3 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01712, allocations: 0 / 280.3 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01712, allocations: 7.938 kB / 280.3 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005575/0.01768, allocations: 0.5099 MB / 280.8 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.01772, allocations: 23.84 kB / 280.9 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.01775, allocations: 4 kB / 280.9 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.01799, allocations: 7.938 kB / 280.9 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.01802, allocations: 7.984 kB / 280.9 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.01804, allocations: 4 kB / 280.9 MB, free: 8.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001778/0.01821, allocations: 168.6 kB / 281 MB, free: 8.566 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01821, allocations: 0 / 281 MB, free: 8.566 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005636/0.01878, allocations: 43.95 kB / 281.1 MB, free: 8.523 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (12): * Single equations (assignments): 12 * 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.0001365/0.01891, allocations: 95.25 kB / 281.2 MB, free: 8.418 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00034/0.01925, allocations: 131.4 kB / 281.3 MB, free: 8.285 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01926, allocations: 0 / 281.3 MB, free: 8.285 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.494e-05/0.01935, allocations: 43.61 kB / 281.4 MB, free: 8.238 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007396/0.02009, allocations: 27.92 kB / 281.4 MB, free: 8.211 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.0213, allocations: 0.5188 MB / 281.9 MB, free: 7.656 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.02147, allocations: 112.2 kB / 282 MB, free: 7.523 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.461e-05/0.02156, allocations: 17.48 kB / 282 MB, free: 7.508 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.02161, allocations: 16.5 kB / 282 MB, free: 7.492 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02161, allocations: 0 / 282 MB, free: 7.492 MB / 266.7 MB Notification: Performance of Templates: time 0.006103/0.02771, allocations: 1.191 MB / 283.2 MB, free: 6.32 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.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: 4.308600640972145]