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.0009459/0.0009461, allocations: 87.94 kB / 16.65 MB, free: 6.172 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.000942/0.0009422, allocations: 180.9 kB / 17.56 MB, free: 5.852 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.329/1.329, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002307/0.0002307, allocations: 4 kB / 301.4 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1019, allocations: 50.41 MB / 351.8 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002652/0.1046, allocations: 1.798 MB / 353.6 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007759/0.1054, allocations: 155.4 kB / 353.8 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.1057, allocations: 4 kB / 353.8 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.1059, allocations: 23.78 kB / 353.8 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.1061, allocations: 35.69 kB / 353.8 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.1064, allocations: 43.97 kB / 353.9 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.1067, allocations: 171.2 kB / 354.1 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.107, allocations: 50.16 kB / 354.1 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1071, allocations: 63.67 kB / 354.2 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.1072, allocations: 59.7 kB / 354.2 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.1073, allocations: 8 kB / 354.2 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.113e-05/0.1073, allocations: 8 kB / 354.2 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.312e-05/0.1074, allocations: 27.84 kB / 354.3 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.1075, allocations: 105.3 kB / 354.4 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.1077, allocations: 159.6 kB / 354.5 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1077, allocations: 4 kB / 354.5 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1078, allocations: 0 / 354.5 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1078, allocations: 0 / 354.5 MB, free: 0.9609 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.0006549/0.1084, allocations: 438.9 kB / 355 MB, free: 496 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1085, allocations: 8.031 kB / 355 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.896e-05/0.1085, allocations: 20.75 kB / 355 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.1088, allocations: 216 kB / 355.2 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.1088, allocations: 16.38 kB / 355.2 MB, free: 196 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.1089, allocations: 20.31 kB / 355.2 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.1092, allocations: 186.2 kB / 355.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1093, allocations: 3.938 kB / 355.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.1093, allocations: 4 kB / 355.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1093, allocations: 11.88 kB / 355.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.1095, allocations: 99.88 kB / 355.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.1109, allocations: 0.9664 MB / 356.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.111, allocations: 99.75 kB / 356.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.983e-05/0.1111, allocations: 38.75 kB / 356.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.1111, allocations: 4 kB / 356.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.1112, allocations: 38.5 kB / 356.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.1112, allocations: 0 / 356.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003169/0.1115, allocations: 129.9 kB / 356.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.1116, allocations: 106.8 kB / 356.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.1118, allocations: 207.7 kB / 357.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1118, allocations: 25.7 kB / 357.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1119, allocations: 151.8 kB / 357.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.112, allocations: 39.36 kB / 357.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.112, allocations: 33.7 kB / 357.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1121, allocations: 330.8 kB / 357.7 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.457e-05/0.1122, allocations: 40.39 kB / 357.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.1124, allocations: 147.6 kB / 357.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.1126, allocations: 197.5 kB / 358 MB, free: 13.03 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.1126, allocations: 8 kB / 358.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003369/0.113, allocations: 209.1 kB / 358.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.113, allocations: 8 kB / 358.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.113, allocations: 4 kB / 358.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.113, allocations: 4.406 kB / 358.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.1132, allocations: 55.92 kB / 358.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.1132, allocations: 4 kB / 358.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.1133, allocations: 27.62 kB / 358.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.1134, allocations: 16 kB / 358.4 MB, free: 12.7 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 0.0001239/0.1135, allocations: 141.6 kB / 358.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-05/0.1136, allocations: 15.81 kB / 358.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.1136, allocations: 16.94 kB / 358.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1136, allocations: 4 kB / 358.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.1137, allocations: 7.984 kB / 358.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.1137, allocations: 3.938 kB / 358.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004159/0.1141, allocations: 237.5 kB / 358.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1141, allocations: 0 / 358.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.1143, allocations: 35.92 kB / 358.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.1143, allocations: 7.984 kB / 358.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1143, allocations: 4 kB / 358.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1143, allocations: 4 kB / 358.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1143, allocations: 0 / 358.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.1146, allocations: 386 kB / 359.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.1147, allocations: 100.8 kB / 359.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.1148, allocations: 8.062 kB / 359.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.1149, allocations: 0 / 359.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.1149, allocations: 15.92 kB / 359.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1149, allocations: 4 kB / 359.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.1151, allocations: 149.5 kB / 359.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1151, allocations: 4 kB / 359.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003795/0.1155, allocations: 39.91 kB / 359.5 MB, free: 11.44 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 0.0001254/0.1156, allocations: 106.6 kB / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1158, allocations: 108.5 kB / 359.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1158, allocations: 3.938 kB / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.184e-05/0.1159, allocations: 40.05 kB / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005498/0.1164, allocations: 28.03 kB / 359.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.1175, allocations: 0.7697 MB / 360.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.1178, allocations: 0.7245 MB / 361.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.943e-05/0.1179, allocations: 21.95 kB / 361.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.118, allocations: 15.44 kB / 361.3 MB, free: 9.559 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.118, allocations: 0 / 361.3 MB, free: 9.559 MB / 302.1 MB Notification: Performance of Templates: time 0.00379/0.1218, allocations: 1.251 MB / 362.6 MB, free: 8.316 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