Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.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.001468/0.001468, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001578/0.001578, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.482/1.482, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3342/0.3342, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.72e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001522/0.001549, allocations: 0.4893 MB / 377.7 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.003166, allocations: 0.7254 MB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.028e-05/0.003186, allocations: 4 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.081e-05/0.003197, allocations: 0 / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.41e-06/0.003202, allocations: 4 kB / 378.5 MB, free: 1.75 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.005214, allocations: 0.6457 MB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.562e-05/0.005259, allocations: 11.98 kB / 379.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.68e-05/0.005286, allocations: 0 / 379.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.005307, allocations: 4 kB / 379.1 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.654e-05/0.005324, allocations: 0 / 379.1 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.732e-06/0.005331, allocations: 0 / 379.1 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008368/0.006168, allocations: 411.1 kB / 379.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-06/0.006175, allocations: 0 / 379.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.006199, allocations: 0 / 379.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005909/0.006789, allocations: 375 kB / 379.9 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.006793, allocations: 0 / 379.9 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd: time 4.057e-06/0.006797, allocations: 3.984 kB / 379.9 MB, free: 320 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.006801, allocations: 7.938 kB / 379.9 MB, free: 312 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004603/0.007261, allocations: 311.7 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.007297, allocations: 8.031 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.007339, allocations: 0.9375 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.836e-05/0.007437, allocations: 101.8 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.007451, allocations: 8.375 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.007458, allocations: 384 / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.007566, allocations: 59.95 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.007573, allocations: 192 / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.007581, allocations: 384 / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.007584, allocations: 4.375 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.622e-05/0.007621, allocations: 33.62 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.007746, allocations: 97.33 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.133e-05/0.007818, allocations: 44.22 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.007872, allocations: 42.64 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.007881, allocations: 0 / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/0.007939, allocations: 56.27 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.007939, allocations: 0 / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002257/0.008165, allocations: 126.7 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.008233, allocations: 81.11 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.098e-05/0.008294, allocations: 93.98 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.008315, allocations: 25.7 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.008359, allocations: 80.14 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.008373, allocations: 0 / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.008404, allocations: 13.72 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.008576, allocations: 314.8 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.924e-05/0.008605, allocations: 25.7 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.387e-05/0.008629, allocations: 29.7 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.221e-05/0.008701, allocations: 68.25 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.008703, allocations: 64 / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001099/0.008813, allocations: 93.05 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.008855, allocations: 31.58 kB / 381.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.008859, allocations: 0 / 381.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.008879, allocations: 3.984 kB / 381.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.00888, allocations: 0 / 381.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.008884, allocations: 0 / 381.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.008901, allocations: 7.938 kB / 381.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.008906, allocations: 0 / 381.6 MB, free: 14.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001083/0.009014, allocations: 135.5 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.009025, allocations: 11.98 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.414e-06/0.009033, allocations: 3 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.009034, allocations: 0 / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.009038, allocations: 0 / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.00904, allocations: 0 / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.009142, allocations: 105.2 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.009143, allocations: 0 / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-06/0.009146, allocations: 4 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.009147, allocations: 0 / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.009152, allocations: 0 / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.009153, allocations: 0 / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.009154, allocations: 4 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.009298, allocations: 128.4 kB / 382 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-06/0.009302, allocations: 0 / 382 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.009312, allocations: 0 / 382 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-06/0.00932, allocations: 3.938 kB / 382 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/0.009334, allocations: 4 kB / 382 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.009337, allocations: 0 / 382 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.422e-05/0.009381, allocations: 75.28 kB / 382.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009381, allocations: 0 / 382.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003796/0.009761, allocations: 87.67 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006168/0.01038, allocations: 253 kB / 382.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.01052, allocations: 106.8 kB / 382.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01052, allocations: 0 / 382.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-05/0.01059, allocations: 93.03 kB / 382.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.01073, allocations: 3.938 kB / 382.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002238/0.01095, allocations: 104 kB / 382.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.582e-05/0.01102, allocations: 59.34 kB / 382.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.19e-06/0.01102, allocations: 128 / 382.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.466e-05/0.01104, allocations: 12.5 kB / 382.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01104, allocations: 0 / 382.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of Templates: time 0.005769/0.01681, allocations: 1.977 MB / 384.8 MB, free: 10.98 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.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.756083590909839]