Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 172.4 kB / 16.08 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.6 MB / 222.4 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007762/0.0007762, allocations: 102.8 kB / 270.8 MB, free: 8.121 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3754/0.3754, allocations: 43.67 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003034, allocations: 11.98 kB / 432.3 MB, free: 5.035 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1084, allocations: 58.85 MB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.0006127/0.1091, allocations: 240.3 kB / 491.4 MB, free: 9.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003167/0.1123, allocations: 3.114 MB / 494.5 MB, free: 6.426 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.29e-05/0.1123, allocations: 0 / 494.5 MB, free: 6.426 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.1123, allocations: 0 / 494.5 MB, free: 6.426 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.1123, allocations: 4 kB / 494.5 MB, free: 6.422 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.1136, allocations: 403.2 kB / 494.9 MB, free: 6.027 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.73e-05/0.1136, allocations: 0 / 494.9 MB, free: 6.027 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.1136, allocations: 3.984 kB / 494.9 MB, free: 6.023 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.827e-05/0.1137, allocations: 3.938 kB / 494.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.264e-05/0.1137, allocations: 4 kB / 494.9 MB, free: 6.016 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.322e-06/0.1137, allocations: 3.938 kB / 494.9 MB, free: 6.012 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009469/0.1147, allocations: 0.6436 MB / 495.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-06/0.1147, allocations: 3.984 kB / 495.6 MB, free: 5.363 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.1147, allocations: 25.7 kB / 495.6 MB, free: 5.332 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005519/0.1153, allocations: 395.1 kB / 496 MB, free: 4.945 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1153, allocations: 0 / 496 MB, free: 4.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1153, allocations: 0 / 496 MB, free: 4.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1153, allocations: 0 / 496 MB, free: 4.945 MB / 378.7 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.0003698/0.1157, allocations: 401.3 kB / 496.4 MB, free: 4.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1157, allocations: 8.031 kB / 496.4 MB, free: 4.492 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.1158, allocations: 0.9375 kB / 496.4 MB, free: 4.492 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.422e-05/0.1159, allocations: 164.4 kB / 496.5 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1159, allocations: 384 / 496.5 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-06/0.1159, allocations: 8.375 kB / 496.5 MB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.544e-05/0.116, allocations: 33.95 kB / 496.6 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.116, allocations: 0 / 496.6 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.116, allocations: 0 / 496.6 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.116, allocations: 0 / 496.6 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.534e-05/0.1161, allocations: 4 kB / 496.6 MB, free: 4.242 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.1162, allocations: 145.7 kB / 496.7 MB, free: 4.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.651e-05/0.1162, allocations: 26.59 kB / 496.8 MB, free: 4.016 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.244e-05/0.1162, allocations: 8.859 kB / 496.8 MB, free: 4.004 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.1163, allocations: 0 / 496.8 MB, free: 4.004 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.1163, allocations: 64.14 kB / 496.8 MB, free: 3.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 3.546e-06/0.1163, allocations: 3.938 kB / 496.8 MB, free: 3.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001535/0.1165, allocations: 79.28 kB / 496.9 MB, free: 3.832 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.1165, allocations: 81.11 kB / 497 MB, free: 3.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.188e-05/0.1166, allocations: 89.86 kB / 497.1 MB, free: 3.637 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1166, allocations: 29.83 kB / 497.1 MB, free: 3.602 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.113e-05/0.1166, allocations: 80.14 kB / 497.2 MB, free: 3.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.229e-05/0.1166, allocations: 0 / 497.2 MB, free: 3.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-06/0.1166, allocations: 0 / 497.2 MB, free: 3.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.88e-05/0.1167, allocations: 310.8 kB / 497.5 MB, free: 3.207 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.1167, allocations: 8 kB / 497.5 MB, free: 3.199 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-06/0.1167, allocations: 0 / 497.5 MB, free: 3.199 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.956e-05/0.1168, allocations: 64.2 kB / 497.6 MB, free: 3.121 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1168, allocations: 4.062 kB / 497.6 MB, free: 3.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.031e-05/0.1169, allocations: 59.39 kB / 497.6 MB, free: 3.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.1169, allocations: 37.64 kB / 497.7 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1169, allocations: 0 / 497.7 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1169, allocations: 0 / 497.7 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.1169, allocations: 0 / 497.7 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1169, allocations: 4 kB / 497.7 MB, free: 3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.437e-05/0.117, allocations: 0 / 497.7 MB, free: 3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.117, allocations: 4 kB / 497.7 MB, free: 2.996 MB / 378.7 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.723e-05/0.1171, allocations: 143.6 kB / 497.8 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-06/0.1171, allocations: 7.922 kB / 497.8 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.926e-06/0.1171, allocations: 7.125 kB / 497.8 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.1171, allocations: 0 / 497.8 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1171, allocations: 0 / 497.8 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1171, allocations: 0 / 497.8 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.949e-05/0.1172, allocations: 145.7 kB / 498 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1172, allocations: 3.938 kB / 498 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.1172, allocations: 0 / 498 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1172, allocations: 7.938 kB / 498 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.1172, allocations: 4 kB / 498 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.1172, allocations: 0 / 498 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1172, allocations: 0 / 498 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.404e-05/0.1173, allocations: 90.83 kB / 498.1 MB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.1174, allocations: 77.11 kB / 498.1 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.1174, allocations: 3.938 kB / 498.1 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-06/0.1174, allocations: 3.938 kB / 498.1 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.1174, allocations: 8.031 kB / 498.2 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.1174, allocations: 0 / 498.2 MB, free: 2.395 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.334e-05/0.1175, allocations: 75.28 kB / 498.2 MB, free: 2.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1175, allocations: 0 / 498.2 MB, free: 2.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003351/0.1178, allocations: 131.9 kB / 498.4 MB, free: 2.191 MB / 378.7 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.00075/0.1186, allocations: 310.1 kB / 498.7 MB, free: 1.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.287e-05/0.1186, allocations: 59.34 kB / 498.7 MB, free: 1.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1187, allocations: 0 / 498.7 MB, free: 1.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.801e-05/0.1187, allocations: 63.39 kB / 498.8 MB, free: 1.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/0.1188, allocations: 0 / 498.8 MB, free: 1.746 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001509/0.119, allocations: 78.89 kB / 498.9 MB, free: 1.645 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.1192, allocations: 0.6692 MB / 499.5 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.22e-06/0.1192, allocations: 3.938 kB / 499.5 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.258e-06/0.1192, allocations: 11.44 kB / 499.5 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1192, allocations: 0 / 499.5 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of Templates: time 0.168/0.2872, allocations: 3.366 MB / 0.4911 GB, free: 42.74 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches