Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 106.2 kB / 18.25 MB, free: 4.785 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 195.3 kB / 19.18 MB, free: 3.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.1 MB / 225 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 51.92 kB / 281.3 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08075/0.08214, allocations: 46.63 MB / 327.9 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003657/0.08584, allocations: 2.077 MB / 330 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004918/0.08636, allocations: 171.3 kB / 330.2 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.08654, allocations: 4 kB / 330.2 MB, free: 2.211 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.08673, allocations: 27.72 kB / 330.2 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.08687, allocations: 39.58 kB / 330.3 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.08706, allocations: 43.89 kB / 330.3 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.08733, allocations: 183.2 kB / 330.5 MB, free: 1.922 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.08752, allocations: 58.28 kB / 330.5 MB, free: 1.863 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.752e-05/0.08761, allocations: 67.72 kB / 330.6 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.08775, allocations: 75.62 kB / 330.7 MB, free: 1.723 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.08779, allocations: 16 kB / 330.7 MB, free: 1.707 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.528e-05/0.08783, allocations: 16 kB / 330.7 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.08787, allocations: 27.92 kB / 330.7 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.82e-05/0.08796, allocations: 87.53 kB / 330.8 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.08819, allocations: 179.6 kB / 331 MB, free: 1.402 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.0882, allocations: 0 / 331 MB, free: 1.402 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.08821, allocations: 0 / 331 MB, free: 1.402 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.08822, allocations: 0 / 331 MB, free: 1.402 MB / 270.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.0006507/0.08888, allocations: 470.7 kB / 331.5 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.08892, allocations: 11.89 kB / 331.5 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.08899, allocations: 20.75 kB / 331.5 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.08922, allocations: 219.9 kB / 331.7 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.08925, allocations: 12.38 kB / 331.7 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.0893, allocations: 16.38 kB / 331.7 MB, free: 0.582 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.08959, allocations: 190.2 kB / 331.9 MB, free: 384 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.08963, allocations: 3.938 kB / 331.9 MB, free: 380 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.08966, allocations: 8 kB / 331.9 MB, free: 372 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.08967, allocations: 8 kB / 331.9 MB, free: 364 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.08985, allocations: 99.81 kB / 332 MB, free: 264 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.09117, allocations: 0.9509 MB / 333 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.09133, allocations: 111.8 kB / 333.1 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.164e-05/0.0914, allocations: 38.66 kB / 333.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.09142, allocations: 4 kB / 333.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.09145, allocations: 34.5 kB / 333.2 MB, free: 14.99 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.09146, allocations: 0 / 333.2 MB, free: 14.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003179/0.09178, allocations: 133.3 kB / 333.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.09185, allocations: 106.8 kB / 333.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.09205, allocations: 203.8 kB / 333.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.09208, allocations: 25.7 kB / 333.6 MB, free: 14.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.933e-05/0.09219, allocations: 147.8 kB / 333.8 MB, free: 14.33 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.09223, allocations: 51.28 kB / 333.8 MB, free: 14.28 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/0.09231, allocations: 45.84 kB / 333.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.09244, allocations: 334.8 kB / 334.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-05/0.09252, allocations: 44.39 kB / 334.2 MB, free: 13.85 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.09266, allocations: 138.7 kB / 334.4 MB, free: 13.67 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.09289, allocations: 202 kB / 334.6 MB, free: 13.42 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.0929, allocations: 0 / 334.6 MB, free: 13.42 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003225/0.09323, allocations: 217.1 kB / 334.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.09325, allocations: 4 kB / 334.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.09327, allocations: 11.92 kB / 334.8 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.09329, allocations: 8 kB / 334.8 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.09345, allocations: 48.33 kB / 334.9 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.09347, allocations: 12 kB / 334.9 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.09361, allocations: 35.56 kB / 334.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.09363, allocations: 8 kB / 334.9 MB, free: 13.08 MB / 286.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.0001015/0.09374, allocations: 133.7 kB / 335 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.669e-05/0.09382, allocations: 23.8 kB / 335.1 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.09387, allocations: 16.94 kB / 335.1 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.09388, allocations: 0 / 335.1 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.09389, allocations: 4 kB / 335.1 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.0939, allocations: 3.938 kB / 335.1 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.09432, allocations: 237.5 kB / 335.3 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.09434, allocations: 4 kB / 335.3 MB, free: 12.6 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.09449, allocations: 31.98 kB / 335.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.0945, allocations: 0 / 335.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.09452, allocations: 4 kB / 335.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.09453, allocations: 0 / 335.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.09453, allocations: 3.984 kB / 335.4 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.09484, allocations: 385.7 kB / 335.7 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.09491, allocations: 104.9 kB / 335.8 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.09495, allocations: 0 / 335.8 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.0951, allocations: 8 kB / 335.9 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.09513, allocations: 7.938 kB / 335.9 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.09514, allocations: 3.984 kB / 335.9 MB, free: 12.03 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.09527, allocations: 149.5 kB / 336 MB, free: 11.88 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09527, allocations: 0 / 336 MB, free: 11.88 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003725/0.09565, allocations: 36 kB / 336 MB, free: 11.85 MB / 286.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 9.604e-05/0.09575, allocations: 104.2 kB / 336.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.09599, allocations: 115.9 kB / 336.3 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.096, allocations: 0 / 336.3 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.211e-05/0.09606, allocations: 40.73 kB / 336.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.09665, allocations: 44.67 kB / 336.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.0977, allocations: 0.65 MB / 337 MB, free: 10.86 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.09803, allocations: 0.728 MB / 337.7 MB, free: 10.1 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/0.09808, allocations: 19.44 kB / 337.7 MB, free: 10.08 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.09809, allocations: 0 / 337.7 MB, free: 10.08 MB / 286.1 MB Notification: Performance of Templates: time 0.003808/0.1019, allocations: 1.976 MB / 339.7 MB, free: 8.102 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches