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.001049/0.001049, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001121/0.001121, allocations: 165.4 kB / 24.99 MB, free: 8.797 MB / 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 0.9278/0.9278, allocations: 177.1 MB / 205.3 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.2372/0.2372, allocations: 34.26 MB / 296 MB, free: 0.7891 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.292e-06/1.292e-06, allocations: 0 / 378 MB, free: 3.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.331e-05, allocations: 2.312 kB / 378 MB, free: 3.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001157/0.00118, allocations: 0.5008 MB / 378.5 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009758/0.002156, allocations: 0.7487 MB / 379.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.245e-05/0.002178, allocations: 0 / 379.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.002192, allocations: 0 / 379.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-06/0.002199, allocations: 3.938 kB / 379.2 MB, free: 1.754 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.001344/0.003543, allocations: 0.6496 MB / 379.9 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.625e-05/0.003589, allocations: 0 / 379.9 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.00363, allocations: 4 kB / 379.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.735e-05/0.003658, allocations: 4 kB / 379.9 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.686e-05/0.003675, allocations: 0 / 379.9 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.132e-06/0.003681, allocations: 0 / 379.9 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005501/0.004231, allocations: 414.3 kB / 380.3 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.614e-06/0.004238, allocations: 3.938 kB / 380.3 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.004256, allocations: 0 / 380.3 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.00466, allocations: 379 kB / 380.7 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004662, allocations: 3.938 kB / 380.7 MB, free: 320 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004663, allocations: 0 / 380.7 MB, free: 320 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.004667, allocations: 4 kB / 380.7 MB, free: 316 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.0003116/0.004979, allocations: 409.6 kB / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.005012, allocations: 8.031 kB / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.005047, allocations: 4.938 kB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.077e-05/0.005108, allocations: 108.6 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.00512, allocations: 4.375 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.005128, allocations: 384 / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.181e-05/0.00521, allocations: 55.97 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.005217, allocations: 192 / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.005225, allocations: 384 / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.005233, allocations: 384 / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.841e-05/0.005251, allocations: 33.64 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.015e-05/0.005341, allocations: 116.6 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.274e-05/0.005384, allocations: 56.7 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.005406, allocations: 41.47 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-06/0.00541, allocations: 0 / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.005449, allocations: 59.09 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.005449, allocations: 0 / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001686/0.005618, allocations: 118.7 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.005655, allocations: 85.11 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.953e-05/0.005694, allocations: 146.4 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.005704, allocations: 25.7 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/0.00573, allocations: 126.9 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.005746, allocations: 352 / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.005769, allocations: 19.38 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.005869, allocations: 496.1 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.005887, allocations: 29.69 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.229e-05/0.005899, allocations: 29.7 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.128e-05/0.005941, allocations: 67.09 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.005943, allocations: 0 / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.773e-05/0.006, allocations: 101 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.006027, allocations: 29.7 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.006031, allocations: 0 / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.006042, allocations: 0 / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.006043, allocations: 0 / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.006048, allocations: 0 / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.274e-05/0.006061, allocations: 7.938 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.006066, allocations: 0 / 382.8 MB, free: 13.87 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 7.222e-05/0.006138, allocations: 182.3 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-06/0.006144, allocations: 4 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.185e-06/0.006152, allocations: 11.02 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.006154, allocations: 0 / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.006158, allocations: 4 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.00616, allocations: 0 / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.828e-05/0.006219, allocations: 116.5 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.006219, allocations: 0 / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-07/0.006219, allocations: 0 / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.00622, allocations: 0 / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.006226, allocations: 0 / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.006226, allocations: 3.938 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.006227, allocations: 0 / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.721e-05/0.006304, allocations: 143.7 kB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-06/0.006308, allocations: 0 / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.00632, allocations: 0 / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.932e-06/0.006326, allocations: 3.984 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.006338, allocations: 4 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.00634, allocations: 0 / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.874e-05/0.006369, allocations: 119.2 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006369, allocations: 0 / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.006634, allocations: 83.73 kB / 383.5 MB, free: 13.12 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.0004162/0.00705, allocations: 255.4 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.00715, allocations: 118.5 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.007152, allocations: 0 / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.965e-05/0.007181, allocations: 92.73 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.679e-05/0.007268, allocations: 4 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001733/0.007441, allocations: 117.6 kB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.775e-05/0.007469, allocations: 51.36 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.559e-06/0.007474, allocations: 0 / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.088e-05/0.007485, allocations: 12.62 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007485, allocations: 0 / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of Templates: time 0.003695/0.01118, allocations: 1.983 MB / 386.1 MB, free: 10.39 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0327437981031835]