Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.002279/0.002279, allocations: 105 kB / 21.22 MB, free: 0.6758 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.002741/0.002741, allocations: 209.7 kB / 24.53 MB, free: 4.035 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 8.051 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 64.77 kB / 379 MB, free: 2.699 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2669, allocations: 53.37 MB / 432.4 MB, free: 6.988 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00394/0.2708, allocations: 2.13 MB / 434.5 MB, free: 4.852 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0004825/0.2713, allocations: 167.4 kB / 434.7 MB, free: 4.688 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.2715, allocations: 4 kB / 434.7 MB, free: 4.684 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.2716, allocations: 31.66 kB / 434.7 MB, free: 4.652 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.2717, allocations: 51.56 kB / 434.8 MB, free: 4.602 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.272, allocations: 43.94 kB / 434.8 MB, free: 4.559 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002672/0.2722, allocations: 175.2 kB / 435 MB, free: 4.387 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.2724, allocations: 46.34 kB / 435 MB, free: 4.336 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 9.244e-05/0.2725, allocations: 63.78 kB / 435.1 MB, free: 4.273 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.2726, allocations: 75.69 kB / 435.2 MB, free: 4.199 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.2726, allocations: 15.94 kB / 435.2 MB, free: 4.184 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.956e-05/0.2727, allocations: 16 kB / 435.2 MB, free: 4.168 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.337e-05/0.2727, allocations: 27.92 kB / 435.2 MB, free: 4.141 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.868e-05/0.2728, allocations: 87.55 kB / 435.3 MB, free: 4.055 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.2731, allocations: 188.8 kB / 435.5 MB, free: 3.875 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2731, allocations: 0 / 435.5 MB, free: 3.875 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.543e-06/0.2731, allocations: 0 / 435.5 MB, free: 3.875 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.444e-06/0.2731, allocations: 0 / 435.5 MB, free: 3.875 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.0006541/0.2737, allocations: 389.6 kB / 435.9 MB, free: 3.465 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2738, allocations: 8.031 kB / 435.9 MB, free: 3.457 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.2738, allocations: 24.8 kB / 435.9 MB, free: 3.434 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.2741, allocations: 161 kB / 436.1 MB, free: 3.254 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.2741, allocations: 16.16 kB / 436.1 MB, free: 3.238 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.2742, allocations: 28.33 kB / 436.1 MB, free: 3.211 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.2745, allocations: 178.4 kB / 436.3 MB, free: 3.016 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.2745, allocations: 11.94 kB / 436.3 MB, free: 3.004 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.2745, allocations: 4 kB / 436.3 MB, free: 3 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2746, allocations: 4 kB / 436.3 MB, free: 2.996 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.2748, allocations: 99.88 kB / 436.4 MB, free: 2.898 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.2761, allocations: 0.9265 MB / 437.3 MB, free: 1.895 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.2763, allocations: 95.75 kB / 437.4 MB, free: 1.773 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.477e-05/0.2763, allocations: 42.75 kB / 437.5 MB, free: 1.723 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.2763, allocations: 4 kB / 437.5 MB, free: 1.719 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2764, allocations: 30.56 kB / 437.5 MB, free: 1.68 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.2764, allocations: 0 / 437.5 MB, free: 1.68 MB / 334.1 MB
Notification: Performance of matching and sorting (n=12): time 0.000326/0.2767, allocations: 137.9 kB / 437.6 MB, free: 1.539 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.2768, allocations: 106.8 kB / 437.7 MB, free: 1.41 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.277, allocations: 199.8 kB / 437.9 MB, free: 1.203 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.277, allocations: 29.7 kB / 438 MB, free: 1.168 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.2771, allocations: 148 kB / 438.1 MB, free: 1.02 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.2771, allocations: 43.64 kB / 438.2 MB, free: 0.9766 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/0.2772, allocations: 49.89 kB / 438.2 MB, free: 0.918 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001629/0.2774, allocations: 334.8 kB / 438.5 MB, free: 0.582 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-05/0.2775, allocations: 40.45 kB / 438.6 MB, free: 0.543 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.2776, allocations: 146.6 kB / 438.7 MB, free: 360 kB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.2779, allocations: 197.6 kB / 438.9 MB, free: 112 kB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2779, allocations: 0 / 438.9 MB, free: 112 kB / 334.1 MB
Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003489/0.2782, allocations: 217.8 kB / 439.1 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2782, allocations: 11.94 kB / 439.1 MB, free: 15.88 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2782, allocations: 7.938 kB / 439.1 MB, free: 15.87 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.2783, allocations: 4 kB / 439.1 MB, free: 15.86 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.2784, allocations: 47.92 kB / 439.2 MB, free: 15.82 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.2784, allocations: 7.984 kB / 439.2 MB, free: 15.81 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.2786, allocations: 35.48 kB / 439.2 MB, free: 15.78 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.2786, allocations: 12 kB / 439.2 MB, free: 15.77 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.0001244/0.2787, allocations: 137.7 kB / 439.4 MB, free: 15.62 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.347e-05/0.2788, allocations: 19.94 kB / 439.4 MB, free: 15.6 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.2788, allocations: 21.02 kB / 439.4 MB, free: 15.58 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.2788, allocations: 4 kB / 439.4 MB, free: 15.57 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2788, allocations: 0 / 439.4 MB, free: 15.57 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2788, allocations: 3.938 kB / 439.4 MB, free: 15.57 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.2793, allocations: 208.6 kB / 439.6 MB, free: 15.32 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2793, allocations: 0 / 439.6 MB, free: 15.32 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.2794, allocations: 35.86 kB / 439.7 MB, free: 15.29 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2794, allocations: 0 / 439.7 MB, free: 15.29 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.2794, allocations: 8 kB / 439.7 MB, free: 15.28 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2794, allocations: 0 / 439.7 MB, free: 15.28 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.2794, allocations: 8 kB / 439.7 MB, free: 15.27 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.2798, allocations: 389.8 kB / 440.1 MB, free: 14.88 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.2798, allocations: 12.03 kB / 440.1 MB, free: 14.86 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.2799, allocations: 12.2 kB / 440.1 MB, free: 14.85 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.28, allocations: 0 / 440.1 MB, free: 14.85 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.2801, allocations: 23.91 kB / 440.1 MB, free: 14.83 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.2801, allocations: 4 kB / 440.1 MB, free: 14.82 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001432/0.2802, allocations: 149.5 kB / 440.3 MB, free: 14.68 MB / 350.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.2802, allocations: 0 / 440.3 MB, free: 14.68 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003749/0.2806, allocations: 39.94 kB / 440.3 MB, free: 14.64 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.0001831/0.2808, allocations: 103.2 kB / 440.4 MB, free: 14.53 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002136/0.281, allocations: 104.2 kB / 440.5 MB, free: 14.43 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.281, allocations: 0 / 440.5 MB, free: 14.43 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.354e-05/0.281, allocations: 35.92 kB / 440.5 MB, free: 14.39 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.2815, allocations: 23.98 kB / 440.6 MB, free: 14.37 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.2826, allocations: 0.6287 MB / 441.2 MB, free: 13.71 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.2829, allocations: 0.7281 MB / 441.9 MB, free: 12.96 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 7.265e-05/0.283, allocations: 21.94 kB / 441.9 MB, free: 12.93 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.2831, allocations: 15.44 kB / 441.9 MB, free: 12.92 MB / 350.1 MB
Notification: Performance of SimCode: time 4.11e-07/0.2831, allocations: 4 kB / 442 MB, free: 12.91 MB / 350.1 MB
Notification: Performance of Templates: time 0.004882/0.2879, allocations: 1.479 MB / 443.4 MB, free: 11.44 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.352693087421358]