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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 161.4 kB / 24.49 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 173.4 MB / 201 MB, free: 12.61 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 47.39 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09752/0.09922, allocations: 52.15 MB / 371.5 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003476/0.1027, allocations: 2.012 MB / 373.6 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003781/0.1031, allocations: 159.4 kB / 373.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.501e-05/0.1032, allocations: 11.94 kB / 373.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.1033, allocations: 27.72 kB / 373.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.1034, allocations: 47.56 kB / 373.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.1036, allocations: 39.94 kB / 373.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.1038, allocations: 179.2 kB / 374 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.104, allocations: 46.39 kB / 374.1 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.1041, allocations: 67.73 kB / 374.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.1042, allocations: 71.62 kB / 374.2 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.1042, allocations: 12 kB / 374.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.087e-05/0.1043, allocations: 16 kB / 374.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.1043, allocations: 31.86 kB / 374.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.767e-05/0.1044, allocations: 67.72 kB / 374.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.1046, allocations: 179.2 kB / 374.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1047, allocations: 0 / 374.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1047, allocations: 3.938 kB / 374.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1047, allocations: 0 / 374.5 MB, free: 4.395 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.0006595/0.1053, allocations: 401.5 kB / 374.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1054, allocations: 8.031 kB / 374.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.1054, allocations: 24.84 kB / 374.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.1057, allocations: 153.8 kB / 375.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1057, allocations: 12.38 kB / 375.1 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.1057, allocations: 20.38 kB / 375.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.106, allocations: 178.5 kB / 375.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.106, allocations: 11.83 kB / 375.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.1061, allocations: 12 kB / 375.3 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1061, allocations: 4 kB / 375.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.1063, allocations: 103.9 kB / 375.4 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.1075, allocations: 0.838 MB / 376.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1077, allocations: 99.94 kB / 376.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.307e-05/0.1077, allocations: 42.5 kB / 376.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.689e-06/0.1077, allocations: 0 / 376.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1078, allocations: 38.55 kB / 376.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.1078, allocations: 4 kB / 376.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003068/0.1081, allocations: 126 kB / 376.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.1081, allocations: 110.8 kB / 376.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1083, allocations: 166.2 kB / 376.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.1083, allocations: 25.7 kB / 376.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1084, allocations: 148.1 kB / 377 MB, free: 1.672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.1085, allocations: 55.53 kB / 377 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.1085, allocations: 49.88 kB / 377.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1087, allocations: 330.8 kB / 377.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.1088, allocations: 36.45 kB / 377.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.1089, allocations: 134.7 kB / 377.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.1092, allocations: 213.6 kB / 377.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1092, allocations: 0 / 377.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003296/0.1095, allocations: 217.2 kB / 378 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1095, allocations: 6.812 kB / 378 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1095, allocations: 4.406 kB / 378 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1096, allocations: 8 kB / 378 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.1097, allocations: 47.92 kB / 378.1 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.1097, allocations: 11.88 kB / 378.1 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.1098, allocations: 23.84 kB / 378.1 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.1099, allocations: 15.98 kB / 378.1 MB, free: 432 kB / 334.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.0001214/0.11, allocations: 141.6 kB / 378.3 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.11, allocations: 11.95 kB / 378.3 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.1101, allocations: 16.34 kB / 378.3 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1101, allocations: 0 / 378.3 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1101, allocations: 0 / 378.3 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1101, allocations: 8 kB / 378.3 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.1105, allocations: 177.1 kB / 378.5 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1105, allocations: 0 / 378.5 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.1106, allocations: 27.98 kB / 378.5 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1106, allocations: 0 / 378.5 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.1107, allocations: 8.047 kB / 378.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1107, allocations: 0 / 378.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1107, allocations: 3.938 kB / 378.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.111, allocations: 385.9 kB / 378.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.111, allocations: 15.84 kB / 378.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.1111, allocations: 4.062 kB / 378.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.1112, allocations: 12.12 kB / 378.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.1113, allocations: 11.97 kB / 378.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1113, allocations: 0 / 378.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.1114, allocations: 124.1 kB / 379 MB, free: 15.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1114, allocations: 0 / 379 MB, free: 15.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003829/0.1117, allocations: 43.94 kB / 379.1 MB, free: 15.39 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 9.912e-05/0.1118, allocations: 99.19 kB / 379.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.1121, allocations: 112.1 kB / 379.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1121, allocations: 0 / 379.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.987e-05/0.1121, allocations: 27.94 kB / 379.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.1126, allocations: 35.41 kB / 379.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009789/0.1136, allocations: 0.6263 MB / 380 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.1137, allocations: 112.2 kB / 380.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.9e-05/0.1138, allocations: 21.47 kB / 380.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.1138, allocations: 16.5 kB / 380.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1138, allocations: 0 / 380.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of Templates: time 0.004006/0.1178, allocations: 1.167 MB / 381.3 MB, free: 13.14 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.163873242912814]