Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001068/0.001068, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001064/0.001065, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001003, allocations: 47.56 kB / 300.6 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08583/0.08684, allocations: 49.45 MB / 350 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003252/0.09013, allocations: 2.091 MB / 352.1 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004128/0.09057, allocations: 167.4 kB / 352.3 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.09068, allocations: 4 kB / 352.3 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.09082, allocations: 35.66 kB / 352.3 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.401e-05/0.09093, allocations: 47.56 kB / 352.4 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.09108, allocations: 35.95 kB / 352.4 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.09128, allocations: 183.2 kB / 352.6 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.09144, allocations: 64.84 kB / 352.7 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.108e-05/0.09151, allocations: 59.8 kB / 352.7 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.09163, allocations: 75.62 kB / 352.8 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.09166, allocations: 16 kB / 352.8 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.721e-05/0.0917, allocations: 12 kB / 352.8 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.71e-05/0.09174, allocations: 35.84 kB / 352.9 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.237e-05/0.09181, allocations: 79.61 kB / 352.9 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.092, allocations: 183.6 kB / 353.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.09201, allocations: 0 / 353.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09201, allocations: 0 / 353.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.09202, allocations: 0 / 353.1 MB, free: 1.348 MB / 286.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.0005387/0.09257, allocations: 462.8 kB / 353.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.09261, allocations: 19.88 kB / 353.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.09266, allocations: 24.66 kB / 353.6 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.09284, allocations: 208.1 kB / 353.8 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.09287, allocations: 12.38 kB / 353.8 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.09291, allocations: 16.38 kB / 353.8 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.09317, allocations: 190 kB / 354 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.0932, allocations: 7.844 kB / 354 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.09322, allocations: 8 kB / 354 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.09324, allocations: 11.98 kB / 354.1 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.0934, allocations: 96.52 kB / 354.2 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.09452, allocations: 0.9623 MB / 355.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.09465, allocations: 99.8 kB / 355.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.09471, allocations: 46.69 kB / 355.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.936e-06/0.09473, allocations: 4 kB / 355.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.09475, allocations: 30.56 kB / 355.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.09476, allocations: 4 kB / 355.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002691/0.09503, allocations: 125.4 kB / 355.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.09509, allocations: 110.7 kB / 355.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.09527, allocations: 199.8 kB / 355.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.09529, allocations: 33.7 kB / 355.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.09537, allocations: 143.8 kB / 355.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.09541, allocations: 51.25 kB / 355.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.09548, allocations: 49.88 kB / 356 MB, free: 14.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.0956, allocations: 330.8 kB / 356.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.09568, allocations: 44.44 kB / 356.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.0958, allocations: 139.8 kB / 356.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.09601, allocations: 201.5 kB / 356.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.09601, allocations: 0 / 356.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002783/0.0963, allocations: 214 kB / 356.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.09632, allocations: 8 kB / 356.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.09633, allocations: 4 kB / 356.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.09635, allocations: 4 kB / 356.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.09651, allocations: 55.92 kB / 357 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.09653, allocations: 11.92 kB / 357 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.09664, allocations: 27.62 kB / 357 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.09666, allocations: 12.09 kB / 357 MB, free: 13.03 MB / 302.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 9.784e-05/0.09676, allocations: 141.9 kB / 357.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/0.09684, allocations: 19.8 kB / 357.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.09688, allocations: 20.92 kB / 357.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.09689, allocations: 4 kB / 357.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.0969, allocations: 0 / 357.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.09691, allocations: 3.938 kB / 357.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.0973, allocations: 237.5 kB / 357.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.09731, allocations: 0 / 357.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.09746, allocations: 27.98 kB / 357.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.09747, allocations: 0 / 357.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.09749, allocations: 12 kB / 357.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.0975, allocations: 3.938 kB / 357.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0975, allocations: 0 / 357.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.0978, allocations: 385.8 kB / 357.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.09786, allocations: 92.86 kB / 357.9 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.09789, allocations: 8.062 kB / 358 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.09804, allocations: 4 kB / 358 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.09807, allocations: 15.92 kB / 358 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.09809, allocations: 4 kB / 358 MB, free: 11.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.09819, allocations: 153.4 kB / 358.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.0982, allocations: 0 / 358.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003685/0.09857, allocations: 39.91 kB / 358.2 MB, free: 11.79 MB / 302.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.327e-05/0.09867, allocations: 99.25 kB / 358.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.09888, allocations: 115.8 kB / 358.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.09889, allocations: 0 / 358.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.752e-05/0.09894, allocations: 35.92 kB / 358.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005554/0.0995, allocations: 37.53 kB / 358.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000911/0.1004, allocations: 0.6382 MB / 359.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1007, allocations: 0.7281 MB / 359.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.845e-05/0.1008, allocations: 17.95 kB / 359.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.1008, allocations: 15.44 kB / 359.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1008, allocations: 7.938 kB / 359.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of Templates: time 0.003644/0.1045, allocations: 1.331 MB / 361.2 MB, free: 8.707 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches