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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 113.9 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 185.9 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2211/0.2211, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 71.89 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.403, allocations: 60.81 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.00244/0.4055, allocations: 0.4933 MB / 0.52 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.4072, allocations: 0.7695 MB / 0.5208 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.4073, allocations: 0 / 0.5208 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.4073, allocations: 3.938 kB / 0.5208 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.267e-06/0.4073, allocations: 3.938 kB / 0.5208 GB, free: 2.797 MB / 382.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.00212/0.4095, allocations: 0.5779 MB / 0.5214 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.477e-05/0.4095, allocations: 2.594 kB / 0.5214 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.4096, allocations: 1.594 kB / 0.5214 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.785e-05/0.4096, allocations: 0 / 0.5214 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.702e-05/0.4096, allocations: 6.172 kB / 0.5214 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.061e-06/0.4096, allocations: 3.938 kB / 0.5214 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008778/0.4105, allocations: 379.3 kB / 0.5217 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.4105, allocations: 1.344 kB / 0.5217 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.4106, allocations: 0.875 kB / 0.5217 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007925/0.4114, allocations: 338.2 kB / 0.5221 GB, free: 2.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4114, allocations: 0 / 0.5221 GB, free: 2.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.768e-06/0.4114, allocations: 0 / 0.5221 GB, free: 2.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.4114, allocations: 5.094 kB / 0.5221 GB, free: 2.266 MB / 382.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.000482/0.4119, allocations: 386.6 kB / 0.5224 GB, free: 1.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.412, allocations: 9.281 kB / 0.5224 GB, free: 1.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.412, allocations: 0.9375 kB / 0.5224 GB, free: 1.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.332e-05/0.4121, allocations: 162.2 kB / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.4121, allocations: 384 / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-06/0.4121, allocations: 2.234 kB / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.828e-05/0.4122, allocations: 29.91 kB / 0.5226 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.4122, allocations: 192 / 0.5226 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-06/0.4122, allocations: 4.734 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.4122, allocations: 9.203 kB / 0.5226 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.686e-05/0.4122, allocations: 1.062 kB / 0.5226 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001067/0.4123, allocations: 144.3 kB / 0.5228 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.317e-05/0.4124, allocations: 25.45 kB / 0.5228 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.339e-05/0.4124, allocations: 6.891 kB / 0.5228 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.4124, allocations: 0 / 0.5228 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.4125, allocations: 58.11 kB / 0.5229 GB, free: 1.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.4125, allocations: 4 kB / 0.5229 GB, free: 1.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001587/0.4126, allocations: 73.09 kB / 0.5229 GB, free: 1.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.4127, allocations: 83.02 kB / 0.523 GB, free: 1.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.089e-05/0.4127, allocations: 89.86 kB / 0.5231 GB, free: 1.043 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.4127, allocations: 25.7 kB / 0.5231 GB, free: 1.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.068e-05/0.4127, allocations: 85.22 kB / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.4127, allocations: 0 / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.4128, allocations: 13.22 kB / 0.5232 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.545e-05/0.4128, allocations: 316.6 kB / 0.5235 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.4129, allocations: 1.125 kB / 0.5235 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-06/0.4129, allocations: 1.781 kB / 0.5235 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.555e-05/0.4129, allocations: 64.33 kB / 0.5236 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4129, allocations: 3.938 kB / 0.5236 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.82e-05/0.413, allocations: 67.61 kB / 0.5237 GB, free: 456 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.413, allocations: 35.8 kB / 0.5237 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.413, allocations: 0 / 0.5237 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.4131, allocations: 8.031 kB / 0.5237 GB, free: 416 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.4131, allocations: 1.969 kB / 0.5237 GB, free: 416 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4131, allocations: 0 / 0.5237 GB, free: 416 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.4131, allocations: 1.062 kB / 0.5237 GB, free: 416 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.4131, allocations: 0 / 0.5237 GB, free: 416 kB / 382.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 5.211e-05/0.4132, allocations: 135.5 kB / 0.5238 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.407e-06/0.4132, allocations: 5.219 kB / 0.5238 GB, free: 264 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.047e-06/0.4132, allocations: 5 kB / 0.5238 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4132, allocations: 3.938 kB / 0.5238 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4132, allocations: 4 kB / 0.5238 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.4132, allocations: 78.86 kB / 0.5239 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.4133, allocations: 1.75 kB / 0.5239 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.095e-05/0.4133, allocations: 1.062 kB / 0.5239 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.4133, allocations: 0.7969 kB / 0.5239 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001028/0.4134, allocations: 189.7 kB / 0.5241 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001429/0.4136, allocations: 250.3 kB / 0.5243 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.655e-05/0.4136, allocations: 3 kB / 0.5243 GB, free: 15.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.137e-05/0.4136, allocations: 75.28 kB / 0.5244 GB, free: 15.62 MB / 398.1 MB Notification: Performance of Backend: time 3.01e-07/0.4136, allocations: 0 / 0.5244 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008669/0.4145, allocations: 255.8 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003838/0.4149, allocations: 0.5815 MB / 0.5252 GB, free: 14.82 MB / 398.1 MB Notification: Performance of Templates: time 0.005102/0.42, allocations: 1.849 MB / 0.527 GB, free: 14.31 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches