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.002006/0.002006, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 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.002235/0.002235, allocations: 184.9 kB / 24.45 MB, free: 3.961 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.503/1.503, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.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.001627/0.001627, allocations: 43.92 kB / 371.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2332, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003471/0.2366, allocations: 2.024 MB / 425.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004081/0.237, allocations: 163.4 kB / 426 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.2371, allocations: 7.938 kB / 426 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.2373, allocations: 27.72 kB / 426 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.2374, allocations: 47.58 kB / 426.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.2375, allocations: 39.94 kB / 426.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.2378, allocations: 183.2 kB / 426.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.2379, allocations: 42.22 kB / 426.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.99e-05/0.238, allocations: 71.72 kB / 426.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.2382, allocations: 67.61 kB / 426.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.2382, allocations: 16 kB / 426.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.092e-05/0.2382, allocations: 12 kB / 426.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.2383, allocations: 27.92 kB / 426.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.813e-05/0.2384, allocations: 71.67 kB / 426.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.2386, allocations: 186 kB / 426.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2386, allocations: 0 / 426.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2386, allocations: 0 / 426.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2386, allocations: 0 / 426.8 MB, free: 11.51 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.0006179/0.2392, allocations: 397.5 kB / 427.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.2393, allocations: 12.03 kB / 427.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.2393, allocations: 16.84 kB / 427.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.2396, allocations: 158.2 kB / 427.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.2396, allocations: 12.38 kB / 427.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.2396, allocations: 20.38 kB / 427.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.2399, allocations: 182.5 kB / 427.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.24, allocations: 11.83 kB / 427.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.24, allocations: 8 kB / 427.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.24, allocations: 4 kB / 427.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.2402, allocations: 99.81 kB / 427.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.2414, allocations: 0.8375 MB / 428.5 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.2416, allocations: 99.69 kB / 428.6 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.531e-05/0.2416, allocations: 46.69 kB / 428.6 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.2416, allocations: 7.984 kB / 428.7 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.2417, allocations: 34.56 kB / 428.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.2417, allocations: 0 / 428.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002974/0.242, allocations: 129.5 kB / 428.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.242, allocations: 106.8 kB / 428.9 MB, free: 9.137 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.2422, allocations: 162.2 kB / 429.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.2422, allocations: 29.7 kB / 429.1 MB, free: 8.934 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.2423, allocations: 156 kB / 429.3 MB, free: 8.777 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.2424, allocations: 47.59 kB / 429.3 MB, free: 8.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-05/0.2425, allocations: 45.94 kB / 429.4 MB, free: 8.676 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2426, allocations: 334.8 kB / 429.7 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.316e-05/0.2427, allocations: 40.45 kB / 429.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.2428, allocations: 135.8 kB / 429.9 MB, free: 8.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.2431, allocations: 197.5 kB / 430 MB, free: 7.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.2431, allocations: 8 kB / 430.1 MB, free: 7.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003246/0.2434, allocations: 213.6 kB / 430.3 MB, free: 7.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2434, allocations: 11.98 kB / 430.3 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.2434, allocations: 4.703 kB / 430.3 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2435, allocations: 4 kB / 430.3 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.2436, allocations: 47.92 kB / 430.3 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.2436, allocations: 7.938 kB / 430.3 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.2437, allocations: 23.84 kB / 430.4 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.2438, allocations: 8 kB / 430.4 MB, free: 7.551 MB / 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.0001201/0.2439, allocations: 141.7 kB / 430.5 MB, free: 7.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/0.2439, allocations: 11.94 kB / 430.5 MB, free: 7.391 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.244, allocations: 20.38 kB / 430.5 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.244, allocations: 4 kB / 430.5 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.244, allocations: 3.984 kB / 430.5 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.244, allocations: 0 / 430.5 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.2444, allocations: 177.1 kB / 430.7 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2444, allocations: 4 kB / 430.7 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.2445, allocations: 23.98 kB / 430.7 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2445, allocations: 4 kB / 430.7 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.2446, allocations: 4 kB / 430.8 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/0.2446, allocations: 7.938 kB / 430.8 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2446, allocations: 3.938 kB / 430.8 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.2449, allocations: 385.9 kB / 431.1 MB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.2449, allocations: 11.91 kB / 431.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.245, allocations: 12 kB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.2451, allocations: 0 / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.2451, allocations: 7.984 kB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.2451, allocations: 7.984 kB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.2452, allocations: 132 kB / 431.3 MB, free: 6.547 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2452, allocations: 0 / 431.3 MB, free: 6.547 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003805/0.2456, allocations: 43.88 kB / 431.4 MB, free: 6.504 MB / 334.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.0001069/0.2457, allocations: 103.2 kB / 431.5 MB, free: 6.395 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.2459, allocations: 107.8 kB / 431.6 MB, free: 6.289 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2459, allocations: 0 / 431.6 MB, free: 6.289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.312e-05/0.246, allocations: 31.92 kB / 431.6 MB, free: 6.258 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.2465, allocations: 31.2 kB / 431.6 MB, free: 6.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.2475, allocations: 0.6542 MB / 432.3 MB, free: 5.543 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.2476, allocations: 116 kB / 432.4 MB, free: 5.402 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.2477, allocations: 19.44 kB / 432.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2477, allocations: 0 / 432.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of Templates: time 0.003704/0.2514, allocations: 1.949 MB / 434.4 MB, free: 3.434 MB / 334.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 -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: 6.973138086963445]