Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 122 kB / 18.46 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002055/0.002055, allocations: 213.6 kB / 21.42 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 47.92 kB / 374.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1105, allocations: 53.33 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003995/0.1145, allocations: 2.13 MB / 429.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005583/0.115, allocations: 163.4 kB / 429.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.1152, allocations: 3.938 kB / 429.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.1154, allocations: 27.73 kB / 429.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.1155, allocations: 47.56 kB / 429.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.1157, allocations: 39.94 kB / 429.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.116, allocations: 183.2 kB / 430.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.1162, allocations: 42.28 kB / 430.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.1163, allocations: 71.72 kB / 430.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.1165, allocations: 79.58 kB / 430.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.1165, allocations: 16 kB / 430.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.019e-05/0.1165, allocations: 12 kB / 430.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/0.1166, allocations: 31.92 kB / 430.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.972e-05/0.1167, allocations: 87.52 kB / 430.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.1169, allocations: 179.2 kB / 430.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1169, allocations: 0 / 430.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1169, allocations: 0 / 430.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1169, allocations: 4 kB / 430.6 MB, free: 1.16 MB / 350.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.0007118/0.1176, allocations: 466.7 kB / 431 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1177, allocations: 8.031 kB / 431 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.838e-05/0.1177, allocations: 24.8 kB / 431.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.118, allocations: 212.1 kB / 431.3 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.1181, allocations: 24.09 kB / 431.3 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.1181, allocations: 20.33 kB / 431.3 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.1184, allocations: 186.2 kB / 431.5 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.1184, allocations: 3.938 kB / 431.5 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.1184, allocations: 12 kB / 431.5 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1185, allocations: 4 kB / 431.5 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.1186, allocations: 99.88 kB / 431.6 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1945/0.3132, allocations: 0.9576 MB / 432.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.3133, allocations: 102.6 kB / 432.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.3134, allocations: 38.59 kB / 432.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.3134, allocations: 2.125 kB / 432.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.3134, allocations: 36.06 kB / 432.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.823e-06/0.3134, allocations: 1.781 kB / 432.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003162/0.3137, allocations: 127.9 kB / 432.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.3138, allocations: 109.2 kB / 433 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.3139, allocations: 200.9 kB / 433.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.314, allocations: 31.48 kB / 433.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.314, allocations: 138.2 kB / 433.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.314, allocations: 56.16 kB / 433.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.489e-05/0.3141, allocations: 45.08 kB / 433.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.885e-05/0.3142, allocations: 335.9 kB / 433.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.985e-05/0.3142, allocations: 40.22 kB / 433.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.3143, allocations: 144.4 kB / 433.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.3145, allocations: 200.4 kB / 434.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3145, allocations: 0.6562 kB / 434.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002814/0.3148, allocations: 220.3 kB / 434.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3148, allocations: 6.812 kB / 434.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.3148, allocations: 3.594 kB / 434.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.3149, allocations: 5.688 kB / 434.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.315, allocations: 54.59 kB / 434.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.315, allocations: 6.156 kB / 434.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.3151, allocations: 26.94 kB / 434.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.3151, allocations: 14.94 kB / 434.5 MB, free: 9.309 MB / 350.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 7.036e-05/0.3152, allocations: 134.5 kB / 434.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.3153, allocations: 17.59 kB / 434.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.3153, allocations: 26.05 kB / 434.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3153, allocations: 2.812 kB / 434.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3153, allocations: 4.625 kB / 434.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3153, allocations: 3.375 kB / 434.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.3157, allocations: 235.6 kB / 434.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3157, allocations: 1.781 kB / 434.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.3158, allocations: 31.05 kB / 434.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3158, allocations: 3.969 kB / 434.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3159, allocations: 0 / 434.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3159, allocations: 2.625 kB / 434.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3159, allocations: 2.344 kB / 434.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.3161, allocations: 400.3 kB / 435.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/0.3161, allocations: 93.86 kB / 435.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.3162, allocations: 4.281 kB / 435.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3163, allocations: 4.438 kB / 435.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.3163, allocations: 7.406 kB / 435.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.3163, allocations: 6.312 kB / 435.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.814e-05/0.3164, allocations: 153.8 kB / 435.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3164, allocations: 0 / 435.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003661/0.3168, allocations: 35.66 kB / 435.6 MB, free: 8.492 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.714e-05/0.3169, allocations: 106.9 kB / 435.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.3171, allocations: 108.5 kB / 435.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3171, allocations: 1.125 kB / 435.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.16e-05/0.3172, allocations: 33.58 kB / 435.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.3177, allocations: 29.47 kB / 435.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000873/0.3186, allocations: 0.6645 MB / 436.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.3187, allocations: 0.7278 MB / 437.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.3187, allocations: 18.03 kB / 437.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3187, allocations: 0 / 437.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of Templates: time 0.004532/0.3233, allocations: 2.02 MB / 439.3 MB, free: 7.066 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.134041937009897]