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.001093/0.001093, allocations: 117.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001168/0.001168, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 79.86 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3353, allocations: 62.43 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001738/0.3371, allocations: 0.4983 MB / 0.5321 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.3387, allocations: 0.7648 MB / 0.5329 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.831e-05/0.3387, allocations: 0 / 0.5329 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.087e-05/0.3387, allocations: 0 / 0.5329 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.631e-06/0.3388, allocations: 1.312 kB / 0.5329 GB, free: 12.64 MB / 398.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.001764/0.3405, allocations: 0.656 MB / 0.5335 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.759e-05/0.3406, allocations: 1.562 kB / 0.5335 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.3406, allocations: 0 / 0.5335 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.72e-05/0.3407, allocations: 9.891 kB / 0.5335 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.734e-05/0.3407, allocations: 4 kB / 0.5335 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.091e-06/0.3407, allocations: 0 / 0.5335 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006372/0.3413, allocations: 384.3 kB / 0.5339 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.092e-06/0.3413, allocations: 0 / 0.5339 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.3414, allocations: 5.359 kB / 0.5339 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004353/0.3418, allocations: 347.7 kB / 0.5342 GB, free: 11.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.338e-05/0.3418, allocations: 1.375 kB / 0.5342 GB, free: 11.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3418, allocations: 0 / 0.5342 GB, free: 11.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.3418, allocations: 0 / 0.5342 GB, free: 11.79 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.0004183/0.3423, allocations: 393.7 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3423, allocations: 8.25 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.3424, allocations: 2.312 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.3425, allocations: 160.4 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3425, allocations: 384 / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.3425, allocations: 5.688 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.938e-05/0.3426, allocations: 33 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3426, allocations: 192 / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.3426, allocations: 3.938 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3426, allocations: 4 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.677e-05/0.3427, allocations: 1.375 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/0.3428, allocations: 147.1 kB / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.1e-05/0.3429, allocations: 17.33 kB / 0.535 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.3429, allocations: 14.16 kB / 0.535 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.3429, allocations: 3.938 kB / 0.535 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.3429, allocations: 61.64 kB / 0.5351 GB, free: 10.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.343, allocations: 0 / 0.5351 GB, free: 10.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001892/0.3431, allocations: 66.22 kB / 0.5351 GB, free: 10.74 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.3432, allocations: 78.48 kB / 0.5352 GB, free: 10.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.055e-05/0.3432, allocations: 93.84 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.3433, allocations: 27.08 kB / 0.5353 GB, free: 10.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/0.3433, allocations: 80.14 kB / 0.5354 GB, free: 10.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.3433, allocations: 0 / 0.5354 GB, free: 10.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.3434, allocations: 12.59 kB / 0.5354 GB, free: 10.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3435, allocations: 318.8 kB / 0.5357 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.3435, allocations: 1.375 kB / 0.5357 GB, free: 10.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-06/0.3436, allocations: 5.312 kB / 0.5357 GB, free: 10.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.706e-05/0.3436, allocations: 59.02 kB / 0.5358 GB, free: 10.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3436, allocations: 0 / 0.5358 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.187e-05/0.3437, allocations: 62.27 kB / 0.5358 GB, free: 9.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.3438, allocations: 31.2 kB / 0.5359 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3438, allocations: 5.469 kB / 0.5359 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3438, allocations: 3.938 kB / 0.5359 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.873e-06/0.3438, allocations: 0 / 0.5359 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.3438, allocations: 1.375 kB / 0.5359 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.3438, allocations: 4 kB / 0.5359 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.3439, allocations: 1.375 kB / 0.5359 GB, free: 9.91 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.0001155/0.344, allocations: 140.8 kB / 0.536 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-06/0.344, allocations: 5.312 kB / 0.536 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.224e-05/0.344, allocations: 7.109 kB / 0.536 GB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.344, allocations: 9.312 kB / 0.536 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.344, allocations: 0 / 0.536 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.3441, allocations: 81.05 kB / 0.5361 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.3441, allocations: 1.375 kB / 0.5361 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.108e-05/0.3441, allocations: 1.375 kB / 0.5361 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.3441, allocations: 0 / 0.5361 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001354/0.3443, allocations: 195.7 kB / 0.5363 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001542/0.3444, allocations: 258 kB / 0.5365 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.71e-05/0.3444, allocations: 2.75 kB / 0.5365 GB, free: 9.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.768e-05/0.3445, allocations: 75.28 kB / 0.5366 GB, free: 9.098 MB / 398.1 MB Notification: Performance of Backend: time 4.51e-07/0.3445, allocations: 3.938 kB / 0.5366 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007476/0.3452, allocations: 250.3 kB / 0.5369 GB, free: 8.91 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003648/0.3456, allocations: 0.5781 MB / 0.5374 GB, free: 8.277 MB / 398.1 MB Notification: Performance of Templates: time 0.004985/0.3506, allocations: 1.941 MB / 0.5393 GB, free: 7.273 MB / 398.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