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.00174/0.00174, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001416/0.001416, allocations: 216.6 kB / 24.49 MB, free: 3.934 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.434/1.434, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.00153/0.00153, allocations: 47.92 kB / 379 MB, free: 2.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2101, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003327/0.2134, allocations: 2.025 MB / 434.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003643/0.2138, allocations: 167.4 kB / 434.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.995e-05/0.2139, allocations: 7.938 kB / 434.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.214, allocations: 27.72 kB / 434.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.2141, allocations: 47.56 kB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.2143, allocations: 39.95 kB / 434.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.2145, allocations: 175.2 kB / 434.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.2147, allocations: 46.41 kB / 434.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.029e-05/0.2147, allocations: 67.73 kB / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.2149, allocations: 83.61 kB / 435 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.2149, allocations: 12 kB / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.448e-05/0.2149, allocations: 16 kB / 435 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.096e-05/0.215, allocations: 31.86 kB / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.538e-05/0.215, allocations: 67.67 kB / 435.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.2153, allocations: 188.8 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2153, allocations: 0 / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2153, allocations: 0 / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.2153, allocations: 0 / 435.3 MB, free: 3.734 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.0006186/0.2159, allocations: 393.6 kB / 435.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.216, allocations: 8.031 kB / 435.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/0.216, allocations: 24.8 kB / 435.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.2163, allocations: 150.3 kB / 435.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.2163, allocations: 20.16 kB / 435.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.2163, allocations: 20.33 kB / 435.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.2166, allocations: 182.4 kB / 436.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.2167, allocations: 11.92 kB / 436.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.2167, allocations: 8 kB / 436.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.2167, allocations: 4 kB / 436.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.2169, allocations: 99.88 kB / 436.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.2181, allocations: 0.8453 MB / 437.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.2183, allocations: 99.83 kB / 437.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.2183, allocations: 34.58 kB / 437.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.2183, allocations: 0 / 437.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.2184, allocations: 54.56 kB / 437.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.2184, allocations: 0 / 437.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.000298/0.2187, allocations: 121.5 kB / 437.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.2187, allocations: 102.8 kB / 437.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.2189, allocations: 174.1 kB / 437.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2189, allocations: 33.64 kB / 437.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.725e-05/0.219, allocations: 148 kB / 437.8 MB, free: 1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.2191, allocations: 55.53 kB / 437.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.96e-05/0.2191, allocations: 41.94 kB / 437.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2193, allocations: 330.8 kB / 438.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-05/0.2194, allocations: 36.45 kB / 438.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.2195, allocations: 150.6 kB / 438.4 MB, free: 340 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.2198, allocations: 198.1 kB / 438.6 MB, free: 92 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.2198, allocations: 3.984 kB / 438.6 MB, free: 88 kB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003497/0.2201, allocations: 213.3 kB / 438.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2202, allocations: 8.406 kB / 438.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2202, allocations: 8 kB / 438.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2202, allocations: 4 kB / 438.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.2204, allocations: 47.92 kB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.2204, allocations: 4 kB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.2205, allocations: 23.84 kB / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.2205, allocations: 12 kB / 438.9 MB, free: 15.76 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 0.0001158/0.2206, allocations: 145.6 kB / 439.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.2207, allocations: 15.91 kB / 439.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.2207, allocations: 12.34 kB / 439.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2207, allocations: 8 kB / 439.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2207, allocations: 0 / 439.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.2208, allocations: 11.94 kB / 439.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.2208, allocations: 7.938 kB / 439.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.2209, allocations: 7.938 kB / 439.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.221, allocations: 7.984 kB / 439.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004158/0.2214, allocations: 355.3 kB / 439.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003965/0.2218, allocations: 477 kB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.397e-05/0.2218, allocations: 32.25 kB / 440 MB, free: 14.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.912e-05/0.2219, allocations: 124.1 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of Backend: time 4.11e-07/0.2219, allocations: 0 / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005793/0.2225, allocations: 156.3 kB / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of SimCode: time 0.001299/0.2238, allocations: 1.064 MB / 441.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of Templates: time 0.004869/0.2287, allocations: 1.801 MB / 443.1 MB, free: 11.5 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: 4.204497724997054]