Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.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.001784/0.001784, allocations: 107.1 kB / 19.8 MB, free: 2.5 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.002329/0.002329, allocations: 192 kB / 22.98 MB, free: 5.59 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.472/1.472, allocations: 225.6 MB / 251.6 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2282/0.2282, allocations: 44.91 MB / 351.6 MB, free: 12.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.89 kB / 495.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3712, allocations: 64.25 MB / 0.5464 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001734/0.3729, allocations: 0.4974 MB / 0.5469 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.3744, allocations: 0.7884 MB / 0.5476 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.608e-05/0.3744, allocations: 1.406 kB / 0.5476 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.3744, allocations: 0 / 0.5476 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.3744, allocations: 0 / 0.5476 GB, free: 12.39 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.001685/0.3761, allocations: 0.5867 MB / 0.5482 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.345e-05/0.3761, allocations: 1.656 kB / 0.5482 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.3762, allocations: 1.156 kB / 0.5482 GB, free: 12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.3762, allocations: 3.984 kB / 0.5482 GB, free: 12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.343e-05/0.3762, allocations: 5.406 kB / 0.5482 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.464e-06/0.3762, allocations: 0 / 0.5482 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007289/0.377, allocations: 407 kB / 0.5486 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.377, allocations: 0 / 0.5486 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.377, allocations: 5.719 kB / 0.5486 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004922/0.3775, allocations: 338.8 kB / 0.5489 GB, free: 11.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3775, allocations: 1 kB / 0.5489 GB, free: 11.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3775, allocations: 0 / 0.5489 GB, free: 11.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3775, allocations: 0 / 0.5489 GB, free: 11.57 MB / 398.1 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.0004041/0.3779, allocations: 388.9 kB / 0.5493 GB, free: 11.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3779, allocations: 9.406 kB / 0.5493 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.378, allocations: 0.9375 kB / 0.5493 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.3781, allocations: 165.3 kB / 0.5495 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3781, allocations: 384 / 0.5495 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.3781, allocations: 5.547 kB / 0.5495 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.057e-05/0.3782, allocations: 29.2 kB / 0.5495 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3782, allocations: 192 / 0.5495 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3782, allocations: 7.875 kB / 0.5495 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3782, allocations: 1.125 kB / 0.5495 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.614e-05/0.3782, allocations: 1 kB / 0.5495 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.3784, allocations: 146.6 kB / 0.5496 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.322e-05/0.3784, allocations: 24.69 kB / 0.5497 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.3785, allocations: 5.828 kB / 0.5497 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-06/0.3785, allocations: 1.062 kB / 0.5497 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.397e-05/0.3785, allocations: 57.2 kB / 0.5497 GB, free: 10.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3785, allocations: 0 / 0.5497 GB, free: 10.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001708/0.3787, allocations: 70.47 kB / 0.5498 GB, free: 10.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.3788, allocations: 86.41 kB / 0.5499 GB, free: 10.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.585e-05/0.3788, allocations: 89.86 kB / 0.55 GB, free: 10.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.3788, allocations: 26.92 kB / 0.55 GB, free: 10.3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.3789, allocations: 80.14 kB / 0.5501 GB, free: 10.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.3789, allocations: 0 / 0.5501 GB, free: 10.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.3789, allocations: 12.19 kB / 0.5501 GB, free: 10.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.379, allocations: 312.1 kB / 0.5504 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-06/0.3791, allocations: 0 / 0.5504 GB, free: 9.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-06/0.3791, allocations: 13.16 kB / 0.5504 GB, free: 9.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.446e-05/0.3791, allocations: 63.95 kB / 0.5504 GB, free: 9.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3791, allocations: 0 / 0.5504 GB, free: 9.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.308e-05/0.3792, allocations: 62.17 kB / 0.5505 GB, free: 9.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.3792, allocations: 34.02 kB / 0.5505 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3792, allocations: 0 / 0.5505 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3792, allocations: 4.844 kB / 0.5505 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.3792, allocations: 0 / 0.5505 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3793, allocations: 1.188 kB / 0.5505 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.482e-05/0.3793, allocations: 8.031 kB / 0.5506 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.3793, allocations: 5.172 kB / 0.5506 GB, free: 9.695 MB / 398.1 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.000107/0.3794, allocations: 142.7 kB / 0.5507 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-06/0.3794, allocations: 5.234 kB / 0.5507 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.155e-05/0.3794, allocations: 7.062 kB / 0.5507 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.3794, allocations: 0 / 0.5507 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3794, allocations: 1.125 kB / 0.5507 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.3794, allocations: 0 / 0.5507 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.3795, allocations: 146.8 kB / 0.5508 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.3795, allocations: 5.188 kB / 0.5509 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.3795, allocations: 0 / 0.5509 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.3795, allocations: 1 kB / 0.5509 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3795, allocations: 3.938 kB / 0.5509 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-06/0.3795, allocations: 9 kB / 0.5509 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3795, allocations: 0 / 0.5509 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.993e-05/0.3796, allocations: 94 kB / 0.551 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.3797, allocations: 77.11 kB / 0.551 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.3797, allocations: 9.125 kB / 0.551 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-06/0.3797, allocations: 0.9375 kB / 0.551 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.3797, allocations: 0.9688 kB / 0.551 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.3797, allocations: 1.125 kB / 0.551 GB, free: 9.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.398e-05/0.3798, allocations: 75.28 kB / 0.5511 GB, free: 9.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3798, allocations: 0 / 0.5511 GB, free: 9.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003665/0.3801, allocations: 82.45 kB / 0.5512 GB, free: 9.02 MB / 398.1 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.0005034/0.3806, allocations: 221.1 kB / 0.5514 GB, free: 8.871 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.3808, allocations: 64.86 kB / 0.5515 GB, free: 8.801 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3808, allocations: 0 / 0.5515 GB, free: 8.801 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.764e-05/0.3808, allocations: 53.97 kB / 0.5515 GB, free: 8.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.3809, allocations: 5.594 kB / 0.5515 GB, free: 8.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001879/0.3811, allocations: 89.02 kB / 0.5516 GB, free: 8.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3814, allocations: 0.6766 MB / 0.5523 GB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.299e-06/0.3814, allocations: 1.375 kB / 0.5523 GB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.331e-05/0.3814, allocations: 11.56 kB / 0.5523 GB, free: 7.918 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3814, allocations: 0 / 0.5523 GB, free: 7.918 MB / 398.1 MB Notification: Performance of Templates: time 0.005098/0.3865, allocations: 1.833 MB / 0.5541 GB, free: 6.973 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.253756985999644]