Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 217.1 kB / 23.76 MB, free: 4.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 207.6 MB / 234.5 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1991/0.1991, allocations: 44.24 MB / 331 MB, free: 9.605 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 79.89 kB / 468.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1066, allocations: 61.04 MB / 0.5174 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001575/0.1082, allocations: 0.5065 MB / 0.5179 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002738/0.111, allocations: 2.002 MB / 0.5198 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.196e-05/0.111, allocations: 4 kB / 0.5198 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.576e-06/0.111, allocations: 0 / 0.5198 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.819e-06/0.111, allocations: 0 / 0.5198 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.1131, allocations: 0.8097 MB / 0.5206 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.059e-05/0.1131, allocations: 8 kB / 0.5206 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.1132, allocations: 7.969 kB / 0.5206 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.182e-05/0.1132, allocations: 0 / 0.5206 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.209e-05/0.1132, allocations: 3.938 kB / 0.5206 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.779e-06/0.1132, allocations: 0 / 0.5206 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.1145, allocations: 0.7915 MB / 0.5214 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.991e-06/0.1145, allocations: 0 / 0.5214 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.7e-05/0.1145, allocations: 0 / 0.5214 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007797/0.1153, allocations: 0.5923 MB / 0.522 GB, free: 2.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1153, allocations: 0 / 0.522 GB, free: 2.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1153, allocations: 0 / 0.522 GB, free: 2.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.1153, allocations: 0 / 0.522 GB, free: 2.105 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.0004402/0.1157, allocations: 331.5 kB / 0.5223 GB, free: 1.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.1158, allocations: 8.031 kB / 0.5223 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.1158, allocations: 0.9375 kB / 0.5223 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.944e-05/0.1159, allocations: 102.5 kB / 0.5224 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1159, allocations: 4.375 kB / 0.5224 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-06/0.1159, allocations: 384 / 0.5224 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.338e-05/0.116, allocations: 42 kB / 0.5224 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.116, allocations: 3.938 kB / 0.5224 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.116, allocations: 4 kB / 0.5224 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.116, allocations: 0 / 0.5224 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.444e-05/0.116, allocations: 0 / 0.5224 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.1161, allocations: 112.8 kB / 0.5226 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.014e-05/0.1162, allocations: 18.61 kB / 0.5226 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.369e-05/0.1162, allocations: 8.859 kB / 0.5226 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.1162, allocations: 3.938 kB / 0.5226 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.1163, allocations: 72.25 kB / 0.5227 GB, free: 1.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1163, allocations: 0 / 0.5227 GB, free: 1.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001484/0.1164, allocations: 59.34 kB / 0.5227 GB, free: 1.203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.1165, allocations: 81.11 kB / 0.5228 GB, free: 1.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.502e-05/0.1165, allocations: 89.86 kB / 0.5229 GB, free: 1.008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1165, allocations: 29.64 kB / 0.5229 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.1166, allocations: 88.25 kB / 0.523 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.1166, allocations: 0 / 0.523 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.1166, allocations: 21.7 kB / 0.523 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1168, allocations: 310.8 kB / 0.5233 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-06/0.1168, allocations: 0 / 0.5233 GB, free: 0.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-06/0.1168, allocations: 0 / 0.5233 GB, free: 0.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.081e-05/0.1168, allocations: 68.2 kB / 0.5234 GB, free: 472 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1168, allocations: 4.062 kB / 0.5234 GB, free: 468 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.085e-05/0.1169, allocations: 67.39 kB / 0.5234 GB, free: 388 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.1169, allocations: 33.64 kB / 0.5235 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1169, allocations: 0 / 0.5235 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.117, allocations: 0 / 0.5235 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.364e-06/0.117, allocations: 4 kB / 0.5235 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.117, allocations: 3.984 kB / 0.5235 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.351e-05/0.117, allocations: 0 / 0.5235 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.117, allocations: 0 / 0.5235 GB, free: 340 kB / 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 8.924e-05/0.1171, allocations: 139.6 kB / 0.5236 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.1171, allocations: 3.938 kB / 0.5236 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.034e-05/0.1171, allocations: 10.98 kB / 0.5236 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1171, allocations: 0 / 0.5236 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1171, allocations: 0 / 0.5236 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.1171, allocations: 0 / 0.5236 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.713e-05/0.1172, allocations: 120.8 kB / 0.5237 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1172, allocations: 0 / 0.5237 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1172, allocations: 0 / 0.5237 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1172, allocations: 3.938 kB / 0.5237 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.1172, allocations: 3.938 kB / 0.5237 GB, free: 0 / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1172, allocations: 8.031 kB / 0.5238 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1172, allocations: 0 / 0.5238 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.928e-05/0.1173, allocations: 90.78 kB / 0.5238 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-06/0.1173, allocations: 0 / 0.5238 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.1173, allocations: 11.92 kB / 0.5238 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-06/0.1173, allocations: 0 / 0.5238 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.1173, allocations: 0 / 0.5238 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.1173, allocations: 7.969 kB / 0.5239 GB, free: 15.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.052e-05/0.1174, allocations: 75.28 kB / 0.5239 GB, free: 15.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1174, allocations: 0 / 0.5239 GB, free: 15.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004377/0.1178, allocations: 135.7 kB / 0.5241 GB, free: 15.65 MB / 414.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.0006292/0.1184, allocations: 259.4 kB / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.395e-05/0.1185, allocations: 67.34 kB / 0.5244 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1185, allocations: 64 / 0.5244 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.125e-05/0.1186, allocations: 59.39 kB / 0.5244 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.1187, allocations: 4 kB / 0.5244 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001734/0.1188, allocations: 110.6 kB / 0.5245 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.1191, allocations: 0.669 MB / 0.5252 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.059e-05/0.1191, allocations: 7.438 kB / 0.5252 GB, free: 14.39 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1191, allocations: 0 / 0.5252 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Templates: time 0.005504/0.1247, allocations: 3.179 MB / 0.5283 GB, free: 11.21 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.932292983867228]