Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001388/0.001388, allocations: 91.67 kB / 21.2 MB, free: 3.367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009978/0.0009978, allocations: 160.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9444/0.9444, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.863e-05, allocations: 2.312 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003034/0.003052, allocations: 2.126 MB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003901/0.003442, allocations: 163.4 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.003546, allocations: 11.94 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.003705, allocations: 27.72 kB / 275.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.003805, allocations: 47.52 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.003983, allocations: 47.88 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.004224, allocations: 187.1 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.004379, allocations: 39.33 kB / 275.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.004509, allocations: 107.7 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.004626, allocations: 51.88 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.004659, allocations: 16 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.776e-05/0.004687, allocations: 16 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.004724, allocations: 31.84 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.523e-05/0.004789, allocations: 63.83 kB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.004996, allocations: 111.6 kB / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.004999, allocations: 4 kB / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004999, allocations: 0 / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.005004, allocations: 3.938 kB / 275.9 MB, free: 14.41 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.000569/0.005573, allocations: 491.9 kB / 276.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.00561, allocations: 15.98 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.005668, allocations: 36.73 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.005832, allocations: 155 kB / 276.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.005845, allocations: 16.38 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.005874, allocations: 20.33 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.006071, allocations: 172.6 kB / 276.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.006081, allocations: 192 / 276.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.006095, allocations: 4.375 kB / 276.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.006104, allocations: 16.06 kB / 276.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.00631, allocations: 75.88 kB / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007852/0.007095, allocations: 1.067 MB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.7e-05/0.007192, allocations: 113.3 kB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.007231, allocations: 39.06 kB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/0.007241, allocations: 7.938 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.007262, allocations: 41.47 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.007264, allocations: 4 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002046/0.007468, allocations: 109.5 kB / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.007504, allocations: 106.8 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.007613, allocations: 225.7 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.007623, allocations: 33.7 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.007694, allocations: 190.9 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.007722, allocations: 55.52 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.007768, allocations: 51.59 kB / 278.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.007871, allocations: 0.4923 MB / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.845e-05/0.007909, allocations: 24.45 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.861e-05/0.007998, allocations: 167.9 kB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.008141, allocations: 231.2 kB / 279.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.008143, allocations: 0 / 279.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001771/0.00832, allocations: 189.2 kB / 280 MB, free: 9.875 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.008336, allocations: 10.81 kB / 280 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.008342, allocations: 4.406 kB / 280 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.008354, allocations: 11.94 kB / 280.1 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.008455, allocations: 47.92 kB / 280.1 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.008464, allocations: 7.984 kB / 280.1 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.739e-05/0.008521, allocations: 27.78 kB / 280.1 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.008532, allocations: 12 kB / 280.2 MB, free: 9.758 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.208e-05/0.008604, allocations: 176.4 kB / 280.3 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.008645, allocations: 19.91 kB / 280.3 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.008675, allocations: 16.34 kB / 280.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.008679, allocations: 3.984 kB / 280.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.008684, allocations: 4 kB / 280.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.008687, allocations: 4 kB / 280.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.008901, allocations: 172.5 kB / 280.5 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.008904, allocations: 3.984 kB / 280.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.187e-05/0.008986, allocations: 35.92 kB / 280.6 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.008988, allocations: 0 / 280.6 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.009006, allocations: 8 kB / 280.6 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.009007, allocations: 0 / 280.6 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.009008, allocations: 0 / 280.6 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.009252, allocations: 0.4942 MB / 281.1 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.009269, allocations: 19.83 kB / 281.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.009287, allocations: 12 kB / 281.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.009361, allocations: 0 / 281.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.009381, allocations: 7.984 kB / 281.1 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.009386, allocations: 4 kB / 281.1 MB, free: 8.719 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.715e-05/0.009443, allocations: 156 kB / 281.3 MB, free: 8.566 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009443, allocations: 0 / 281.3 MB, free: 8.566 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002283/0.009672, allocations: 39.95 kB / 281.3 MB, free: 8.527 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 6.415e-05/0.009736, allocations: 103.2 kB / 281.4 MB, free: 8.414 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.009874, allocations: 103.7 kB / 281.5 MB, free: 8.309 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.009875, allocations: 0 / 281.5 MB, free: 8.309 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.967e-05/0.009905, allocations: 40.03 kB / 281.6 MB, free: 8.266 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.0102, allocations: 28 kB / 281.6 MB, free: 8.238 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005343/0.01074, allocations: 0.5064 MB / 282.1 MB, free: 7.695 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.623e-05/0.01078, allocations: 75.98 kB / 282.2 MB, free: 7.602 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.043e-05/0.01082, allocations: 17.48 kB / 282.2 MB, free: 7.582 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.01085, allocations: 16.5 kB / 282.2 MB, free: 7.566 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01085, allocations: 0 / 282.2 MB, free: 7.566 MB / 266.7 MB Notification: Performance of Templates: time 0.00317/0.01402, allocations: 1.234 MB / 283.4 MB, free: 6.352 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.5135478558950126]