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.001128/0.001128, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001231/0.001231, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.1987/0.1987, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 63.89 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4029, allocations: 60.82 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.00191/0.4049, allocations: 0.4895 MB / 0.5194 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.4063, allocations: 0.7716 MB / 0.5201 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.862e-05/0.4064, allocations: 0 / 0.5201 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.4064, allocations: 0.9688 kB / 0.5201 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.693e-06/0.4064, allocations: 0 / 0.5201 GB, free: 2.785 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.001918/0.4084, allocations: 0.59 MB / 0.5207 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.4084, allocations: 5.406 kB / 0.5207 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.4085, allocations: 2.344 kB / 0.5207 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.527e-05/0.4085, allocations: 0 / 0.5207 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.854e-05/0.4085, allocations: 1.156 kB / 0.5207 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.012e-06/0.4085, allocations: 7.875 kB / 0.5207 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008808/0.4094, allocations: 376.7 kB / 0.5211 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.115e-06/0.4094, allocations: 0 / 0.5211 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.4095, allocations: 5.281 kB / 0.5211 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007377/0.4102, allocations: 337.7 kB / 0.5214 GB, free: 2.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4102, allocations: 1.469 kB / 0.5214 GB, free: 2.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4102, allocations: 0 / 0.5214 GB, free: 2.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.4102, allocations: 0 / 0.5214 GB, free: 2.246 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.0004181/0.4107, allocations: 382.9 kB / 0.5218 GB, free: 1.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.4107, allocations: 9.969 kB / 0.5218 GB, free: 1.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.4108, allocations: 0.9375 kB / 0.5218 GB, free: 1.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.612e-05/0.4109, allocations: 162.3 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.4109, allocations: 0.9844 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.4109, allocations: 9.75 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.834e-05/0.411, allocations: 30.2 kB / 0.522 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.411, allocations: 192 / 0.522 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.411, allocations: 3.938 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.411, allocations: 1.188 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.065e-05/0.411, allocations: 2.031 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001002/0.4111, allocations: 148.6 kB / 0.5221 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.273e-05/0.4112, allocations: 19.89 kB / 0.5221 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.4112, allocations: 10.72 kB / 0.5221 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.4112, allocations: 1.406 kB / 0.5221 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.4113, allocations: 57.33 kB / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.4113, allocations: 1.438 kB / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001688/0.4114, allocations: 67.94 kB / 0.5223 GB, free: 1.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.4115, allocations: 79.08 kB / 0.5223 GB, free: 1.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.444e-05/0.4115, allocations: 89.98 kB / 0.5224 GB, free: 1.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.211e-06/0.4115, allocations: 29.7 kB / 0.5225 GB, free: 1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.181e-05/0.4115, allocations: 81.55 kB / 0.5225 GB, free: 0.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.4116, allocations: 4.734 kB / 0.5225 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.4116, allocations: 11.81 kB / 0.5225 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.747e-05/0.4117, allocations: 317.3 kB / 0.5228 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.878e-06/0.4117, allocations: 3.938 kB / 0.5229 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-06/0.4117, allocations: 2.125 kB / 0.5229 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.494e-05/0.4117, allocations: 63.89 kB / 0.5229 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4117, allocations: 4.781 kB / 0.5229 GB, free: 0.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.402e-05/0.4118, allocations: 64.33 kB / 0.523 GB, free: 444 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.4118, allocations: 38.38 kB / 0.523 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4118, allocations: 0 / 0.523 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.4119, allocations: 5.031 kB / 0.523 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-06/0.4119, allocations: 0.75 kB / 0.523 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4119, allocations: 5.031 kB / 0.523 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.4119, allocations: 0 / 0.523 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.4119, allocations: 0.9688 kB / 0.523 GB, free: 400 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 6.227e-05/0.412, allocations: 142.9 kB / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.412, allocations: 1.812 kB / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.042e-05/0.412, allocations: 8.031 kB / 0.5232 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.412, allocations: 0 / 0.5232 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.412, allocations: 1.562 kB / 0.5232 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.412, allocations: 0 / 0.5232 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.93e-05/0.4121, allocations: 145.1 kB / 0.5233 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4121, allocations: 1.781 kB / 0.5233 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-06/0.4121, allocations: 0.6562 kB / 0.5233 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4121, allocations: 4 kB / 0.5233 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.4121, allocations: 5.281 kB / 0.5233 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4121, allocations: 4.75 kB / 0.5233 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4122, allocations: 0 / 0.5233 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.4123, allocations: 88.38 kB / 0.5234 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.4123, allocations: 79.06 kB / 0.5235 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.4123, allocations: 5.812 kB / 0.5235 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.257e-05/0.4124, allocations: 4.031 kB / 0.5235 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.4124, allocations: 5.828 kB / 0.5235 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.4124, allocations: 1.125 kB / 0.5235 GB, free: 15.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.02e-05/0.4124, allocations: 79.22 kB / 0.5236 GB, free: 15.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4124, allocations: 0 / 0.5236 GB, free: 15.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004945/0.4129, allocations: 82.09 kB / 0.5237 GB, free: 15.73 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.0009078/0.4138, allocations: 209.5 kB / 0.5239 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.414, allocations: 66.22 kB / 0.5239 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.414, allocations: 1.344 kB / 0.5239 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.466e-05/0.4141, allocations: 54.77 kB / 0.524 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.4143, allocations: 7.062 kB / 0.524 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.4146, allocations: 77.3 kB / 0.5241 GB, free: 15.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.415, allocations: 0.6758 MB / 0.5247 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.102e-05/0.415, allocations: 0 / 0.5247 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.4151, allocations: 7.438 kB / 0.5247 GB, free: 14.67 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4151, allocations: 1.125 kB / 0.5247 GB, free: 14.67 MB / 398.1 MB Notification: Performance of Templates: time 0.006261/0.4213, allocations: 1.831 MB / 0.5265 GB, free: 14.17 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/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) Reference file matches