Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001707/0.001707, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002162/0.002162, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.116/2.116, allocations: 227.4 MB / 247 MB, free: 8.988 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3681/0.3681, allocations: 46.12 MB / 344.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003529/0.003529, allocations: 78.98 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2423, allocations: 62.44 MB / 479.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.003812/0.2462, allocations: 0.5488 MB / 480.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.2485, allocations: 0.7747 MB / 481.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.418e-05/0.2486, allocations: 4 kB / 481.3 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.2486, allocations: 0 / 481.3 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.111e-06/0.2487, allocations: 0 / 481.3 MB, free: 4.359 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.002352/0.251, allocations: 0.6228 MB / 481.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.975e-05/0.2511, allocations: 0 / 481.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.2512, allocations: 0 / 481.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.235e-05/0.2512, allocations: 0 / 481.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.495e-05/0.2512, allocations: 4 kB / 481.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.672e-06/0.2512, allocations: 7.938 kB / 481.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.2523, allocations: 383.3 kB / 482.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.2523, allocations: 0 / 482.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.2524, allocations: 4 kB / 482.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005557/0.2529, allocations: 243.5 kB / 482.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.253, allocations: 4 kB / 482.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.253, allocations: 0 / 482.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.253, allocations: 0 / 482.5 MB, free: 3.105 MB / 350.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.0005867/0.2536, allocations: 389.3 kB / 482.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.2537, allocations: 12.88 kB / 482.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.2537, allocations: 0.9375 kB / 482.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.2539, allocations: 160.4 kB / 483.1 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.2539, allocations: 4.312 kB / 483.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.2539, allocations: 4.375 kB / 483.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.2541, allocations: 26.27 kB / 483.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2542, allocations: 192 / 483.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.2542, allocations: 7.922 kB / 483.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.2542, allocations: 4 kB / 483.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.197e-05/0.2542, allocations: 4 kB / 483.1 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.2545, allocations: 145.7 kB / 483.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.991e-05/0.2545, allocations: 26.48 kB / 483.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.2546, allocations: 4.859 kB / 483.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.2546, allocations: 0 / 483.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.375e-05/0.2546, allocations: 56.27 kB / 483.3 MB, free: 2.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.2546, allocations: 0 / 483.3 MB, free: 2.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002198/0.2549, allocations: 75.39 kB / 483.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.255, allocations: 77.11 kB / 483.5 MB, free: 1.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.364e-05/0.255, allocations: 93.86 kB / 483.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.2551, allocations: 25.7 kB / 483.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.2551, allocations: 80.14 kB / 483.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.2552, allocations: 0 / 483.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.2552, allocations: 13.7 kB / 483.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.2554, allocations: 323 kB / 484 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.2554, allocations: 7.938 kB / 484 MB, free: 1.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-06/0.2554, allocations: 0 / 484 MB, free: 1.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.7e-05/0.2555, allocations: 64.27 kB / 484.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2555, allocations: 0 / 484.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000109/0.2556, allocations: 63.39 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/0.2557, allocations: 33.7 kB / 484.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.2557, allocations: 0 / 484.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.2558, allocations: 3.938 kB / 484.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.2558, allocations: 4.094 kB / 484.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2558, allocations: 3.938 kB / 484.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.2558, allocations: 4 kB / 484.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2558, allocations: 0 / 484.2 MB, free: 1.148 MB / 350.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.0001392/0.256, allocations: 135.5 kB / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.256, allocations: 4 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.505e-05/0.2561, allocations: 11.05 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2561, allocations: 0 / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.2561, allocations: 3.984 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2561, allocations: 4 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.2563, allocations: 141.7 kB / 484.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2563, allocations: 4 kB / 484.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-06/0.2563, allocations: 0 / 484.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2563, allocations: 0 / 484.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.2563, allocations: 3.938 kB / 484.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.2563, allocations: 7.922 kB / 484.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2563, allocations: 0 / 484.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.2565, allocations: 90.84 kB / 484.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.2566, allocations: 77.11 kB / 484.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.2566, allocations: 7.922 kB / 484.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.752e-05/0.2566, allocations: 4 kB / 484.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.2567, allocations: 4 kB / 484.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.2567, allocations: 3.938 kB / 484.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.829e-05/0.2567, allocations: 75.28 kB / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2567, allocations: 0 / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006558/0.2574, allocations: 79.98 kB / 484.8 MB, free: 408 kB / 350.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.000857/0.2583, allocations: 226 kB / 485.1 MB, free: 176 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.2584, allocations: 59.39 kB / 485.1 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2584, allocations: 0 / 485.1 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.213e-05/0.2585, allocations: 59.41 kB / 485.2 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.2588, allocations: 6.812 kB / 485.2 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.2591, allocations: 104.4 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.2595, allocations: 0.6809 MB / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.2596, allocations: 7.438 kB / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2596, allocations: 0 / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Templates: time 0.00699/0.2666, allocations: 1.772 MB / 487.7 MB, free: 13.41 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches