Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.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.001444/0.001444, 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.00159/0.00159, allocations: 215 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.294/1.294, 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.203/0.203, allocations: 44.24 MB / 331 MB, free: 9.625 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.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") [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.002099/0.002099, allocations: 71.91 kB / 468.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1072, allocations: 61.04 MB / 0.5174 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001645/0.1088, allocations: 0.5104 MB / 0.5179 GB, free: 6.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003032/0.1119, allocations: 2.057 MB / 0.5199 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.604e-05/0.1119, allocations: 4 kB / 0.5199 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.1119, allocations: 0 / 0.5199 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.43e-06/0.1119, allocations: 0 / 0.5199 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.1134, allocations: 0.4948 MB / 0.5204 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.578e-05/0.1134, allocations: 0 / 0.5204 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.1135, allocations: 8 kB / 0.5204 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.637e-05/0.1135, allocations: 3.938 kB / 0.5204 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.488e-05/0.1135, allocations: 0 / 0.5204 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.571e-06/0.1135, allocations: 4 kB / 0.5204 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.1147, allocations: 0.733 MB / 0.5211 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.203e-06/0.1147, allocations: 0 / 0.5211 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.1147, allocations: 0 / 0.5211 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006347/0.1153, allocations: 375.2 kB / 0.5215 GB, free: 2.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1153, allocations: 0 / 0.5215 GB, free: 2.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1153, allocations: 0 / 0.5215 GB, free: 2.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1153, allocations: 0 / 0.5215 GB, free: 2.656 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.0004838/0.1158, allocations: 339.4 kB / 0.5218 GB, free: 2.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1158, allocations: 8.031 kB / 0.5218 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.1159, allocations: 0.9375 kB / 0.5218 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.123e-05/0.116, allocations: 110.5 kB / 0.5219 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.116, allocations: 4.375 kB / 0.5219 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.116, allocations: 384 / 0.5219 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.058e-05/0.1161, allocations: 38.02 kB / 0.5219 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-06/0.1161, allocations: 0 / 0.5219 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.1161, allocations: 8 kB / 0.5219 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1161, allocations: 0 / 0.5219 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.659e-05/0.1161, allocations: 0 / 0.5219 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.1162, allocations: 116.8 kB / 0.522 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.115e-05/0.1163, allocations: 22.55 kB / 0.5221 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.311e-05/0.1163, allocations: 8.859 kB / 0.5221 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.1163, allocations: 0 / 0.5221 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/0.1164, allocations: 68.27 kB / 0.5221 GB, free: 1.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.1164, allocations: 0 / 0.5221 GB, free: 1.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001758/0.1165, allocations: 63.39 kB / 0.5222 GB, free: 1.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.1166, allocations: 77.11 kB / 0.5223 GB, free: 1.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.672e-05/0.1167, allocations: 89.86 kB / 0.5224 GB, free: 1.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.1167, allocations: 29.64 kB / 0.5224 GB, free: 1.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.1167, allocations: 88.2 kB / 0.5225 GB, free: 1.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.1167, allocations: 4 kB / 0.5225 GB, free: 1.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.1167, allocations: 13.72 kB / 0.5225 GB, free: 1.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1169, allocations: 314.8 kB / 0.5228 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.1169, allocations: 0 / 0.5228 GB, free: 1.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-06/0.1169, allocations: 4 kB / 0.5228 GB, free: 1.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.9e-05/0.117, allocations: 60.25 kB / 0.5229 GB, free: 1.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.117, allocations: 4.062 kB / 0.5229 GB, free: 1 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.657e-05/0.117, allocations: 63.41 kB / 0.5229 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.1171, allocations: 37.64 kB / 0.523 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1171, allocations: 0 / 0.523 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1171, allocations: 0 / 0.523 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.005e-06/0.1171, allocations: 3.938 kB / 0.523 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1171, allocations: 3.984 kB / 0.523 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.282e-05/0.1171, allocations: 0 / 0.523 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1171, allocations: 0 / 0.523 GB, free: 0.875 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 9.637e-05/0.1172, allocations: 139.6 kB / 0.5231 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.1172, allocations: 3.938 kB / 0.5231 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.164e-06/0.1172, allocations: 3 kB / 0.5231 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1172, allocations: 4 kB / 0.5231 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.1172, allocations: 0 / 0.5231 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.1172, allocations: 0 / 0.5231 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.1173, allocations: 124.8 kB / 0.5232 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1173, allocations: 0 / 0.5232 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1173, allocations: 0 / 0.5232 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.1174, allocations: 11.92 kB / 0.5232 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.1174, allocations: 4 kB / 0.5232 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1174, allocations: 0 / 0.5232 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1174, allocations: 0 / 0.5232 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.1175, allocations: 94.81 kB / 0.5233 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-06/0.1175, allocations: 0 / 0.5233 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1175, allocations: 7.875 kB / 0.5233 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.176e-05/0.1175, allocations: 4 kB / 0.5233 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.1175, allocations: 4 kB / 0.5233 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.1175, allocations: 4.031 kB / 0.5233 GB, free: 408 kB / 398.1 MB Notification: Performance of sorting global known variables: time 4.019e-05/0.1175, allocations: 75.28 kB / 0.5234 GB, free: 332 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1175, allocations: 0 / 0.5234 GB, free: 332 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004005/0.1179, allocations: 127.6 kB / 0.5235 GB, free: 204 kB / 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.0007686/0.1187, allocations: 310.3 kB / 0.5238 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.1188, allocations: 59.39 kB / 0.5239 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1188, allocations: 0 / 0.5239 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.698e-05/0.1189, allocations: 55.41 kB / 0.5239 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.119, allocations: 1.094 kB / 0.5239 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002227/0.1192, allocations: 114.7 kB / 0.5241 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.1195, allocations: 0.6845 MB / 0.5247 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.1195, allocations: 7.438 kB / 0.5247 GB, free: 14.89 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1195, allocations: 0 / 0.5247 GB, free: 14.89 MB / 414.1 MB Notification: Performance of Templates: time 0.006191/0.1257, allocations: 3.28 MB / 0.5279 GB, free: 11.6 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.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.801568224094808]