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.001313/0.001313, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001451/0.001451, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 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 1.46/1.46, allocations: 230.3 MB / 257.9 MB, free: 8.223 MB / 206.1 MB
"
[Timeout remaining time 178]
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 0.001903/0.001903, allocations: 63.83 kB / 378.7 MB, free: 2.793 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.267, allocations: 53.37 MB / 432.1 MB, free: 7.078 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003445/0.2705, allocations: 2.134 MB / 434.2 MB, free: 4.941 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.000368/0.2708, allocations: 167.4 kB / 434.4 MB, free: 4.777 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.355e-05/0.2709, allocations: 7.938 kB / 434.4 MB, free: 4.77 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.2711, allocations: 31.66 kB / 434.4 MB, free: 4.738 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000113/0.2712, allocations: 55.56 kB / 434.5 MB, free: 4.684 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.2714, allocations: 39.94 kB / 434.5 MB, free: 4.645 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002345/0.2716, allocations: 175.2 kB / 434.7 MB, free: 4.473 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.2717, allocations: 42.41 kB / 434.7 MB, free: 4.426 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 8.117e-05/0.2718, allocations: 67.78 kB / 434.8 MB, free: 4.359 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.2719, allocations: 75.62 kB / 434.9 MB, free: 4.285 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.272, allocations: 16 kB / 434.9 MB, free: 4.27 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.909e-05/0.272, allocations: 12 kB / 434.9 MB, free: 4.258 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.652e-05/0.272, allocations: 31.86 kB / 434.9 MB, free: 4.227 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.452e-05/0.2721, allocations: 79.61 kB / 435 MB, free: 4.148 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.2723, allocations: 192.8 kB / 435.2 MB, free: 3.965 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2724, allocations: 0 / 435.2 MB, free: 3.965 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.463e-06/0.2724, allocations: 0 / 435.2 MB, free: 3.965 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.11e-06/0.2724, allocations: 0 / 435.2 MB, free: 3.965 MB / 334.1 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.0006049/0.273, allocations: 389.6 kB / 435.6 MB, free: 3.555 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.273, allocations: 8.031 kB / 435.6 MB, free: 3.547 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.2731, allocations: 28.8 kB / 435.6 MB, free: 3.52 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.2733, allocations: 154.3 kB / 435.8 MB, free: 3.344 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.2733, allocations: 16.16 kB / 435.8 MB, free: 3.328 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.2734, allocations: 24.27 kB / 435.8 MB, free: 3.305 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.2737, allocations: 186.4 kB / 436 MB, free: 3.102 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.2737, allocations: 3.938 kB / 436 MB, free: 3.098 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.2737, allocations: 12 kB / 436 MB, free: 3.086 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2737, allocations: 4 kB / 436 MB, free: 3.082 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.2739, allocations: 99.88 kB / 436.1 MB, free: 2.984 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.2753, allocations: 0.9226 MB / 437 MB, free: 1.984 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.2754, allocations: 99.75 kB / 437.1 MB, free: 1.859 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.056e-05/0.2755, allocations: 42.69 kB / 437.2 MB, free: 1.809 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.2755, allocations: 3.984 kB / 437.2 MB, free: 1.805 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.2755, allocations: 38.56 kB / 437.2 MB, free: 1.758 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.2755, allocations: 0 / 437.2 MB, free: 1.758 MB / 334.1 MB
Notification: Performance of matching and sorting (n=12): time 0.0003086/0.2759, allocations: 133.4 kB / 437.4 MB, free: 1.621 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.416e-05/0.2759, allocations: 110.8 kB / 437.5 MB, free: 1.488 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.2761, allocations: 199.8 kB / 437.7 MB, free: 1.281 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.2762, allocations: 25.7 kB / 437.7 MB, free: 1.25 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.2763, allocations: 152 kB / 437.8 MB, free: 1.098 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.2763, allocations: 47.64 kB / 437.9 MB, free: 1.051 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.2764, allocations: 45.89 kB / 437.9 MB, free: 0.9961 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001449/0.2765, allocations: 330.8 kB / 438.2 MB, free: 0.6641 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-05/0.2766, allocations: 40.44 kB / 438.3 MB, free: 0.625 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.2768, allocations: 150.6 kB / 438.4 MB, free: 440 kB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.277, allocations: 193.5 kB / 438.6 MB, free: 196 kB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.277, allocations: 4 kB / 438.6 MB, free: 192 kB / 334.1 MB
Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003204/0.2773, allocations: 209.5 kB / 438.8 MB, free: 15.98 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2774, allocations: 8.094 kB / 438.8 MB, free: 15.97 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2774, allocations: 7.938 kB / 438.8 MB, free: 15.96 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2774, allocations: 4.703 kB / 438.8 MB, free: 15.96 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.2775, allocations: 51.92 kB / 438.9 MB, free: 15.91 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.2776, allocations: 7.984 kB / 438.9 MB, free: 15.9 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.2777, allocations: 35.67 kB / 438.9 MB, free: 15.86 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.2777, allocations: 12 kB / 439 MB, free: 15.85 MB / 350.1 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.0001085/0.2778, allocations: 133.7 kB / 439.1 MB, free: 15.71 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.2779, allocations: 19.91 kB / 439.1 MB, free: 15.69 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.2779, allocations: 25.02 kB / 439.1 MB, free: 15.66 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2779, allocations: 0 / 439.1 MB, free: 15.66 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2779, allocations: 3.938 kB / 439.1 MB, free: 15.66 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.2779, allocations: 11.92 kB / 439.1 MB, free: 15.65 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.2784, allocations: 204.6 kB / 439.3 MB, free: 15.41 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2784, allocations: 4 kB / 439.3 MB, free: 15.4 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.2785, allocations: 35.92 kB / 439.4 MB, free: 15.37 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2785, allocations: 0 / 439.4 MB, free: 15.37 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2785, allocations: 0 / 439.4 MB, free: 15.37 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.2785, allocations: 4 kB / 439.4 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2785, allocations: 4 kB / 439.4 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.2789, allocations: 381.8 kB / 439.8 MB, free: 14.97 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.2789, allocations: 23.95 kB / 439.8 MB, free: 14.95 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.279, allocations: 4.125 kB / 439.8 MB, free: 14.94 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.2791, allocations: 0 / 439.8 MB, free: 14.94 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.2791, allocations: 19.92 kB / 439.8 MB, free: 14.92 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.2791, allocations: 7.938 kB / 439.8 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001276/0.2793, allocations: 153.4 kB / 440 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2793, allocations: 0 / 440 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003686/0.2796, allocations: 43.89 kB / 440 MB, free: 14.72 MB / 350.1 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.0001005/0.2797, allocations: 99.25 kB / 440.1 MB, free: 14.61 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002166/0.2799, allocations: 108.3 kB / 440.2 MB, free: 14.51 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2799, allocations: 0 / 440.2 MB, free: 14.51 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 6.347e-05/0.28, allocations: 35.92 kB / 440.2 MB, free: 14.47 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005096/0.2805, allocations: 29.23 kB / 440.3 MB, free: 14.45 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.2816, allocations: 0.6344 MB / 440.9 MB, free: 13.79 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.282, allocations: 0.7242 MB / 441.6 MB, free: 13.04 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 6.809e-05/0.282, allocations: 17.95 kB / 441.7 MB, free: 13.02 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.2821, allocations: 19.44 kB / 441.7 MB, free: 13 MB / 350.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.2821, allocations: 0 / 441.7 MB, free: 13 MB / 350.1 MB
Notification: Performance of Templates: time 0.004807/0.2869, allocations: 1.471 MB / 443.1 MB, free: 11.53 MB / 350.1 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=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.295049495995045]