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.001638/0.001638, allocations: 110.9 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001908/0.001908, allocations: 215.9 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.612/2.612, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4405/0.4405, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003154/0.003154, allocations: 76.06 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5864/0.5896, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.002628/0.5923, allocations: 499.6 kB / 0.5321 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.5945, allocations: 0.7594 MB / 0.5329 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.5946, allocations: 3.938 kB / 0.5329 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.5946, allocations: 0 / 0.5329 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.648e-06/0.5946, allocations: 0 / 0.5329 GB, free: 12.67 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.002861/0.5975, allocations: 0.663 MB / 0.5335 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.526e-05/0.5976, allocations: 1.406 kB / 0.5335 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.227e-05/0.5976, allocations: 1.312 kB / 0.5335 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.652e-05/0.5977, allocations: 0 / 0.5335 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.195e-05/0.5977, allocations: 1.5 kB / 0.5335 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.5977, allocations: 0 / 0.5335 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.599, allocations: 403.3 kB / 0.5339 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.599, allocations: 0 / 0.5339 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.599, allocations: 0 / 0.5339 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008336/0.5999, allocations: 353.5 kB / 0.5342 GB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.5999, allocations: 0 / 0.5342 GB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.5999, allocations: 1.375 kB / 0.5342 GB, free: 11.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.6, allocations: 0 / 0.5342 GB, free: 11.81 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.0006627/0.6006, allocations: 391.8 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.6007, allocations: 9.625 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/0.6008, allocations: 0.9375 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.601, allocations: 165.8 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.601, allocations: 384 / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.601, allocations: 1.75 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.6012, allocations: 31.62 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.6012, allocations: 1.562 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.6012, allocations: 3.938 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.6013, allocations: 0 / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.068e-05/0.6013, allocations: 5.312 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.6015, allocations: 143.1 kB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.656e-05/0.6016, allocations: 25.33 kB / 0.535 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.6016, allocations: 4.859 kB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.6017, allocations: 5.312 kB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.725e-05/0.6018, allocations: 65.56 kB / 0.5351 GB, free: 10.83 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/0.6018, allocations: 0 / 0.5351 GB, free: 10.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002949/0.6021, allocations: 66.16 kB / 0.5351 GB, free: 10.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.728e-05/0.6022, allocations: 86.61 kB / 0.5352 GB, free: 10.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.6023, allocations: 93.81 kB / 0.5353 GB, free: 10.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.6023, allocations: 25.7 kB / 0.5353 GB, free: 10.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.6024, allocations: 81.52 kB / 0.5354 GB, free: 10.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.6024, allocations: 0 / 0.5354 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.6025, allocations: 16.45 kB / 0.5354 GB, free: 10.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.6027, allocations: 310.8 kB / 0.5357 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.6027, allocations: 1.375 kB / 0.5357 GB, free: 10.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.495e-05/0.6028, allocations: 5.375 kB / 0.5357 GB, free: 10.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.686e-05/0.6028, allocations: 63.02 kB / 0.5358 GB, free: 10.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6029, allocations: 0 / 0.5358 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001237/0.603, allocations: 66.2 kB / 0.5358 GB, free: 9.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.166e-05/0.6031, allocations: 31.2 kB / 0.5359 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.6031, allocations: 0 / 0.5359 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.6031, allocations: 5.312 kB / 0.5359 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-06/0.6031, allocations: 0 / 0.5359 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.6031, allocations: 0 / 0.5359 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.875e-05/0.6032, allocations: 5.469 kB / 0.5359 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.6032, allocations: 0 / 0.5359 GB, free: 9.926 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.0001556/0.6034, allocations: 142.2 kB / 0.536 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.6034, allocations: 5.359 kB / 0.536 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.705e-05/0.6034, allocations: 3.125 kB / 0.536 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.6034, allocations: 3.938 kB / 0.536 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6035, allocations: 1.375 kB / 0.536 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/0.6035, allocations: 77.11 kB / 0.5361 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.6036, allocations: 1.375 kB / 0.5361 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.441e-05/0.6036, allocations: 4 kB / 0.5361 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.6036, allocations: 9.359 kB / 0.5361 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001001/0.6046, allocations: 198.3 kB / 0.5363 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003209/0.605, allocations: 239.5 kB / 0.5365 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.948e-05/0.605, allocations: 2.75 kB / 0.5365 GB, free: 9.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.886e-05/0.6051, allocations: 79.34 kB / 0.5366 GB, free: 9.125 MB / 398.1 MB Notification: Performance of Backend: time 4.168e-06/0.6051, allocations: 0 / 0.5366 GB, free: 9.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001633/0.6068, allocations: 258.4 kB / 0.5369 GB, free: 8.938 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005751/0.6074, allocations: 0.5809 MB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of Templates: time 0.009513/0.6169, allocations: 1.94 MB / 0.5393 GB, free: 7.293 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