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.001331/0.001339, allocations: 110.6 kB / 17.73 MB, free: 5.332 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.001324/0.001325, allocations: 190.9 kB / 18.66 MB, free: 4.406 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.478/1.478, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001362/0.001362, allocations: 51.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1097, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00388/0.1136, allocations: 2.084 MB / 377.2 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000612/0.1143, allocations: 163.4 kB / 377.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.1145, allocations: 4 kB / 377.4 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.1148, allocations: 35.66 kB / 377.4 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.1149, allocations: 47.55 kB / 377.5 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.1152, allocations: 43.95 kB / 377.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000314/0.1155, allocations: 179.2 kB / 377.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.1157, allocations: 66 kB / 377.7 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1158, allocations: 71.78 kB / 377.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.1159, allocations: 71.62 kB / 377.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.116, allocations: 16 kB / 377.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.023e-05/0.116, allocations: 16 kB / 377.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.1161, allocations: 31.91 kB / 377.9 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1162, allocations: 83.55 kB / 378 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.1164, allocations: 183.3 kB / 378.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1165, allocations: 0 / 378.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1165, allocations: 0 / 378.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.1165, allocations: 0 / 378.2 MB, free: 1.484 MB / 318.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.0007098/0.1172, allocations: 470.8 kB / 378.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1173, allocations: 11.89 kB / 378.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.904e-05/0.1173, allocations: 20.75 kB / 378.7 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.1176, allocations: 223.9 kB / 378.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1176, allocations: 8.375 kB / 378.9 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.1177, allocations: 16.38 kB / 378.9 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.118, allocations: 190.2 kB / 379.1 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.118, allocations: 3.938 kB / 379.1 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.1181, allocations: 12 kB / 379.1 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.1181, allocations: 4 kB / 379.1 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.1183, allocations: 95.88 kB / 379.2 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2405/0.3588, allocations: 0.9418 MB / 380.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.3589, allocations: 104.4 kB / 380.3 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.359, allocations: 44.17 kB / 380.3 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.359, allocations: 3.922 kB / 380.3 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.3591, allocations: 44.61 kB / 380.4 MB, free: 12.24 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 3.035e-06/0.3591, allocations: 0 / 380.4 MB, free: 12.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.000346/0.3594, allocations: 123.7 kB / 380.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.3595, allocations: 108.4 kB / 380.6 MB, free: 12.08 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.3597, allocations: 208.8 kB / 380.8 MB, free: 11.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.3597, allocations: 27.08 kB / 380.8 MB, free: 11.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.3598, allocations: 141.8 kB / 381 MB, free: 11.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.3598, allocations: 53.39 kB / 381 MB, free: 11.81 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.3599, allocations: 45.41 kB / 381.1 MB, free: 11.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.3599, allocations: 329.8 kB / 381.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.338e-05/0.36, allocations: 36.33 kB / 381.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.3601, allocations: 145.5 kB / 381.6 MB, free: 11.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.3603, allocations: 203.1 kB / 381.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3604, allocations: 1.188 kB / 381.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002978/0.3607, allocations: 217.7 kB / 382 MB, free: 11.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3607, allocations: 14.75 kB / 382 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3607, allocations: 6.031 kB / 382 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.3607, allocations: 9.312 kB / 382 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.3609, allocations: 48.31 kB / 382.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.3609, allocations: 5.5 kB / 382.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.361, allocations: 27.31 kB / 382.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.3611, allocations: 13.09 kB / 382.1 MB, free: 11.14 MB / 318.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 8.204e-05/0.3611, allocations: 140.1 kB / 382.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.3612, allocations: 21.38 kB / 382.3 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/0.3613, allocations: 19.12 kB / 382.3 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.3613, allocations: 4.312 kB / 382.3 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3613, allocations: 2.812 kB / 382.3 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3613, allocations: 1.891 kB / 382.3 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.3617, allocations: 240.5 kB / 382.5 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3617, allocations: 0 / 382.5 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.3619, allocations: 32.67 kB / 382.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.3619, allocations: 9.312 kB / 382.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.3619, allocations: 8.266 kB / 382.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3619, allocations: 2.125 kB / 382.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3619, allocations: 1.375 kB / 382.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.3623, allocations: 381.8 kB / 382.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.3624, allocations: 98.75 kB / 383 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.3624, allocations: 10.81 kB / 383 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3625, allocations: 1.062 kB / 383 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.3626, allocations: 11.05 kB / 383.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.3626, allocations: 2.781 kB / 383.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.3628, allocations: 149.1 kB / 383.2 MB, free: 10.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3628, allocations: 3.281 kB / 383.2 MB, free: 10.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003905/0.3632, allocations: 36.69 kB / 383.2 MB, free: 10.32 MB / 318.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.0001465/0.3633, allocations: 107.1 kB / 383.4 MB, free: 10.22 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003352/0.3637, allocations: 106 kB / 383.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3637, allocations: 0.5312 kB / 383.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.762e-05/0.3637, allocations: 36.8 kB / 383.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.3643, allocations: 36.28 kB / 383.5 MB, free: 10.2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.3654, allocations: 0.6245 MB / 384.2 MB, free: 9.766 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.3657, allocations: 0.7293 MB / 384.9 MB, free: 9.059 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.466e-05/0.3657, allocations: 21.31 kB / 384.9 MB, free: 9.055 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.3658, allocations: 20.38 kB / 384.9 MB, free: 9.043 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.3658, allocations: 0 / 384.9 MB, free: 9.043 MB / 318.1 MB Notification: Performance of Templates: time 0.00445/0.3702, allocations: 1.362 MB / 386.3 MB, free: 8.934 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/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