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.002052/0.002052, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002627/0.002627, allocations: 169.3 kB / 24.27 MB, free: 144 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.495/1.495, allocations: 177.2 MB / 204.6 MB, free: 5.602 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.994e-06/1.994e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.096e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.005407/0.005438, allocations: 2.026 MB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005908/0.006029, allocations: 167.3 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.006172, allocations: 11.88 kB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.006354, allocations: 23.73 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.006527, allocations: 47.56 kB / 274.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.006754, allocations: 47.94 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004111/0.007165, allocations: 191 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.00737, allocations: 42.41 kB / 274.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.0076, allocations: 99.78 kB / 275 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.007778, allocations: 55.84 kB / 275 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.996e-05/0.007828, allocations: 16 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.618e-05/0.007874, allocations: 12 kB / 275 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.986e-05/0.007934, allocations: 31.84 kB / 275.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.008053, allocations: 51.92 kB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004071/0.00846, allocations: 187.3 kB / 275.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.008464, allocations: 0 / 275.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.008465, allocations: 4 kB / 275.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.00847, allocations: 0 / 275.3 MB, free: 14.83 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.0008757/0.009346, allocations: 385.6 kB / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.009387, allocations: 8.031 kB / 275.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.009492, allocations: 36.8 kB / 275.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.009849, allocations: 149.5 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.009877, allocations: 24.31 kB / 275.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/0.009934, allocations: 20.33 kB / 275.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.01036, allocations: 182.4 kB / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.01038, allocations: 192 / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.01041, allocations: 12.38 kB / 276.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.01042, allocations: 8.125 kB / 276.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.01069, allocations: 99.88 kB / 276.2 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.0124, allocations: 0.8457 MB / 277.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.0126, allocations: 103.8 kB / 277.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.478e-05/0.01269, allocations: 38.75 kB / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.0127, allocations: 4 kB / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.01273, allocations: 30.56 kB / 277.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.01273, allocations: 4 kB / 277.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004316/0.01316, allocations: 130 kB / 277.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.01327, allocations: 110.8 kB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.01349, allocations: 168.8 kB / 277.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.01352, allocations: 29.7 kB / 277.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.01363, allocations: 148.1 kB / 277.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/0.01368, allocations: 59.53 kB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.01376, allocations: 41.94 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.01393, allocations: 326.8 kB / 278.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-05/0.01401, allocations: 36.45 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.01418, allocations: 146.6 kB / 278.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.01446, allocations: 201.5 kB / 278.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01446, allocations: 0 / 278.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003716/0.01483, allocations: 229.3 kB / 278.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.01485, allocations: 8 kB / 278.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.01486, allocations: 4 kB / 278.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.01488, allocations: 4 kB / 278.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.01506, allocations: 51.91 kB / 278.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.01507, allocations: 7.938 kB / 278.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.01519, allocations: 23.84 kB / 278.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.01521, allocations: 16 kB / 278.9 MB, free: 10.84 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.0001312/0.01534, allocations: 137.9 kB / 279.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.01541, allocations: 19.95 kB / 279.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.847e-05/0.01546, allocations: 20.33 kB / 279.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01546, allocations: 3.938 kB / 279.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.01547, allocations: 4 kB / 279.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01547, allocations: 0 / 279.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.01589, allocations: 177.1 kB / 279.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01589, allocations: 0 / 279.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.01605, allocations: 27.98 kB / 279.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01605, allocations: 0 / 279.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.01606, allocations: 4 kB / 279.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01606, allocations: 4 kB / 279.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.01607, allocations: 3.938 kB / 279.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.01646, allocations: 381.9 kB / 279.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.01649, allocations: 20.05 kB / 279.7 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.01651, allocations: 7.984 kB / 279.7 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.01666, allocations: 0 / 279.7 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.01669, allocations: 11.98 kB / 279.7 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.01669, allocations: 7.938 kB / 279.7 MB, free: 9.969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.0168, allocations: 120.8 kB / 279.9 MB, free: 9.852 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0168, allocations: 3.938 kB / 279.9 MB, free: 9.848 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003909/0.01719, allocations: 39.95 kB / 279.9 MB, free: 9.809 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.000127/0.01732, allocations: 107.2 kB / 280 MB, free: 9.691 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.01755, allocations: 99.78 kB / 280.1 MB, free: 9.594 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01755, allocations: 0 / 280.1 MB, free: 9.594 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.981e-05/0.01761, allocations: 35.92 kB / 280.1 MB, free: 9.559 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.01814, allocations: 28.73 kB / 280.2 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009252/0.01907, allocations: 0.4992 MB / 280.7 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.0192, allocations: 116.2 kB / 280.8 MB, free: 8.863 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.896e-05/0.01926, allocations: 9.484 kB / 280.8 MB, free: 8.855 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.01931, allocations: 20.5 kB / 280.8 MB, free: 8.836 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01931, allocations: 0 / 280.8 MB, free: 8.836 MB / 266.7 MB Notification: Performance of Templates: time 0.00428/0.02359, allocations: 1.195 MB / 282 MB, free: 7.664 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] 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.365389008074999]