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.001332/0.001332, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001611/0.001611, allocations: 161 kB / 24.56 MB, free: 16 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 0.9773/0.9773, allocations: 177.1 MB / 205 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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.623e-06/1.623e-06, allocations: 0 / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.839e-05, allocations: 2.312 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003227/0.003255, allocations: 2.118 MB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004056/0.003661, allocations: 163.4 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.634e-05/0.003747, allocations: 7.938 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.003869, allocations: 27.72 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.781e-05/0.003947, allocations: 55.48 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.004108, allocations: 43.94 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.004292, allocations: 183.1 kB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.004421, allocations: 42.45 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.62e-05/0.004517, allocations: 99.78 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.395e-05/0.004611, allocations: 55.8 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.004635, allocations: 12 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.995e-05/0.004655, allocations: 20 kB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.004682, allocations: 31.91 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.004732, allocations: 55.84 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.004899, allocations: 127.4 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.004902, allocations: 0 / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.004903, allocations: 0 / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.004908, allocations: 0 / 276 MB, free: 14.46 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.000701/0.005609, allocations: 491.9 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.005647, allocations: 12.03 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.005702, allocations: 32.8 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.005871, allocations: 162.5 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.005885, allocations: 8.375 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.00592, allocations: 24.33 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.006112, allocations: 168.5 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.006123, allocations: 192 / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.00614, allocations: 12.38 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.006149, allocations: 8.125 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.006251, allocations: 75.62 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008047/0.007055, allocations: 1.074 MB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.007159, allocations: 109.2 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/0.007201, allocations: 47.23 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.00721, allocations: 0 / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.007232, allocations: 45.33 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 9.01e-07/0.007233, allocations: 0 / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002132/0.007446, allocations: 110.1 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.007486, allocations: 106.8 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.007606, allocations: 232.3 kB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.007615, allocations: 25.7 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.007689, allocations: 190.9 kB / 278.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.007717, allocations: 55.53 kB / 278.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.007765, allocations: 51.59 kB / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.00787, allocations: 0.4962 MB / 279.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.576e-05/0.007906, allocations: 16.45 kB / 279.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.835e-05/0.008005, allocations: 179.8 kB / 279.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.008163, allocations: 222.7 kB / 279.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.008166, allocations: 4 kB / 279.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002022/0.008368, allocations: 197.2 kB / 280.1 MB, free: 9.922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.008382, allocations: 7.984 kB / 280.1 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.008389, allocations: 4 kB / 280.1 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.008404, allocations: 4.406 kB / 280.1 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/0.0085, allocations: 47.92 kB / 280.2 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.008509, allocations: 11.94 kB / 280.2 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.008569, allocations: 23.84 kB / 280.2 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.008582, allocations: 15.98 kB / 280.2 MB, free: 9.809 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 7.654e-05/0.008658, allocations: 180.4 kB / 280.4 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.008701, allocations: 15.91 kB / 280.4 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.008732, allocations: 16.34 kB / 280.4 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.008735, allocations: 4 kB / 280.4 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.008738, allocations: 0 / 280.4 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.008741, allocations: 0 / 280.4 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.008988, allocations: 188.5 kB / 280.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.008989, allocations: 0 / 280.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.222e-05/0.009072, allocations: 27.98 kB / 280.6 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.009074, allocations: 0 / 280.6 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.009088, allocations: 7.938 kB / 280.6 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.00909, allocations: 0 / 280.6 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.009091, allocations: 0 / 280.6 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.009334, allocations: 0.4942 MB / 281.1 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.009354, allocations: 19.98 kB / 281.2 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.009371, allocations: 7.984 kB / 281.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.009449, allocations: 4 kB / 281.2 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.009468, allocations: 15.92 kB / 281.2 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.009474, allocations: 7.984 kB / 281.2 MB, free: 8.762 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.196e-05/0.009536, allocations: 156.7 kB / 281.3 MB, free: 8.609 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009536, allocations: 0 / 281.3 MB, free: 8.609 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002469/0.009783, allocations: 39.95 kB / 281.4 MB, free: 8.57 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 7.884e-05/0.009861, allocations: 103.2 kB / 281.5 MB, free: 8.457 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.01002, allocations: 96.14 kB / 281.6 MB, free: 8.359 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01002, allocations: 0 / 281.6 MB, free: 8.359 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.32e-05/0.01005, allocations: 39.61 kB / 281.6 MB, free: 8.316 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.01039, allocations: 27.92 kB / 281.6 MB, free: 8.289 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005928/0.01098, allocations: 0.4985 MB / 282.1 MB, free: 7.754 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.969e-05/0.01103, allocations: 71.98 kB / 282.2 MB, free: 7.664 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.232e-05/0.01107, allocations: 17.48 kB / 282.2 MB, free: 7.645 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.0111, allocations: 16.5 kB / 282.2 MB, free: 7.629 MB / 266.7 MB Notification: Performance of SimCode: time 4.9e-07/0.0111, allocations: 0 / 282.2 MB, free: 7.629 MB / 266.7 MB Notification: Performance of Templates: time 0.003271/0.01437, allocations: 1.203 MB / 283.4 MB, free: 6.449 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7937552658841014]