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.001377/0.001386, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.00159/0.001591, allocations: 194 kB / 18.77 MB, free: 4.742 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.443/1.443, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2006/0.2006, allocations: 44.17 MB / 336.8 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 54.72 kB / 408.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1181, allocations: 60.82 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001756/0.1199, allocations: 0.556 MB / 469.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.1212, allocations: 0.7746 MB / 470.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.069e-05/0.1213, allocations: 0 / 470.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.1213, allocations: 0 / 470.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.318e-06/0.1213, allocations: 0 / 470.5 MB, free: 13.51 MB / 350.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.001581/0.1229, allocations: 0.5413 MB / 471 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.816e-05/0.1229, allocations: 4 kB / 471 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.066e-05/0.123, allocations: 4 kB / 471 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.311e-05/0.123, allocations: 0 / 471 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.642e-05/0.123, allocations: 3.984 kB / 471.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.899e-06/0.123, allocations: 0 / 471.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006218/0.1236, allocations: 367.3 kB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.1237, allocations: 0 / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.1237, allocations: 4 kB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.1241, allocations: 251.5 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1241, allocations: 0 / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1241, allocations: 0 / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.1241, allocations: 0 / 471.7 MB, free: 12.34 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.0003809/0.1245, allocations: 389.2 kB / 472 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1245, allocations: 8.031 kB / 472 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.1246, allocations: 0.9375 kB / 472 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.065e-05/0.1247, allocations: 168.3 kB / 472.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1247, allocations: 4.375 kB / 472.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.1247, allocations: 384 / 472.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.693e-05/0.1248, allocations: 30.27 kB / 472.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1248, allocations: 192 / 472.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1248, allocations: 11.92 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1248, allocations: 0 / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.749e-05/0.1248, allocations: 0 / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.125, allocations: 141.7 kB / 472.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.931e-05/0.125, allocations: 22.55 kB / 472.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.125, allocations: 12.86 kB / 472.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.125, allocations: 0 / 472.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/0.1251, allocations: 60.33 kB / 472.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.1251, allocations: 0 / 472.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001569/0.1253, allocations: 63.33 kB / 472.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.1253, allocations: 81.11 kB / 472.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.5e-05/0.1254, allocations: 89.86 kB / 472.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.1254, allocations: 29.7 kB / 472.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.461e-05/0.1254, allocations: 84.27 kB / 472.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.1254, allocations: 3.938 kB / 472.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.1255, allocations: 17.7 kB / 472.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1256, allocations: 310.8 kB / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.918e-06/0.1256, allocations: 0 / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-06/0.1256, allocations: 0 / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.341e-05/0.1257, allocations: 60.27 kB / 473.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1257, allocations: 4.062 kB / 473.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.195e-05/0.1258, allocations: 67.39 kB / 473.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/0.1258, allocations: 29.7 kB / 473.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1258, allocations: 3.984 kB / 473.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1258, allocations: 7.875 kB / 473.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.1258, allocations: 4 kB / 473.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1258, allocations: 7.938 kB / 473.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.528e-05/0.1259, allocations: 0 / 473.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.1259, allocations: 0 / 473.3 MB, free: 10.39 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 7.921e-05/0.126, allocations: 139.6 kB / 473.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-06/0.126, allocations: 3.938 kB / 473.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.134e-05/0.126, allocations: 11.05 kB / 473.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.126, allocations: 0 / 473.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.126, allocations: 0 / 473.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.126, allocations: 0 / 473.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.186e-05/0.1261, allocations: 149.7 kB / 473.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1261, allocations: 0 / 473.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.1261, allocations: 0 / 473.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1261, allocations: 0 / 473.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1261, allocations: 3.938 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1262, allocations: 7.984 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1262, allocations: 0 / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.1263, allocations: 86.84 kB / 473.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.1263, allocations: 77.11 kB / 473.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.1263, allocations: 7.922 kB / 473.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.074e-05/0.1263, allocations: 4 kB / 473.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-06/0.1264, allocations: 3.938 kB / 473.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.1264, allocations: 4.031 kB / 473.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.172e-05/0.1264, allocations: 75.28 kB / 473.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1264, allocations: 0 / 473.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003681/0.1268, allocations: 79.98 kB / 474 MB, free: 9.641 MB / 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.000525/0.1273, allocations: 223 kB / 474.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.379e-05/0.1274, allocations: 59.41 kB / 474.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1274, allocations: 0 / 474.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.1275, allocations: 63.45 kB / 474.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.1276, allocations: 2.812 kB / 474.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002001/0.1278, allocations: 100.4 kB / 474.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.128, allocations: 0.6692 MB / 475.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.296e-05/0.1281, allocations: 11.38 kB / 475.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1281, allocations: 3.938 kB / 475.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of Templates: time 0.003736/0.1318, allocations: 1.714 MB / 476.8 MB, free: 6.719 MB / 350.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