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.000809/0.000809, allocations: 84.44 kB / 20.69 MB, free: 3.863 MB / 18.57 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.0008155/0.0008155, allocations: 169.9 kB / 23.96 MB, free: 0.5898 MB / 18.57 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 0.8124/0.8124, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 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.1363/0.1363, allocations: 32.37 MB / 270.4 MB, free: 14.95 MB / 266.7 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: Performance of FrontEnd - loaded program: time 3.988e-06/3.988e-06, allocations: 0 / 408.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.158e-05/5.557e-05, allocations: 6.078 kB / 408.1 MB, free: 1.73 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.002499/0.002555, allocations: 0.5066 MB / 408.6 MB, free: 1.227 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003679/0.006234, allocations: 1.936 MB / 410.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.204e-05/0.006256, allocations: 0 / 410.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.006279, allocations: 0 / 410.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.987e-06/0.006288, allocations: 0 / 410.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.008403, allocations: 0.4945 MB / 411 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.469e-05/0.008478, allocations: 8 kB / 411 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.47e-05/0.008553, allocations: 4 kB / 411 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.535e-05/0.008598, allocations: 0 / 411 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.052e-05/0.008658, allocations: 7.984 kB / 411.1 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.008678, allocations: 0 / 411.1 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.009855, allocations: 0.651 MB / 411.7 MB, free: 14.1 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.009867, allocations: 3.984 kB / 411.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.009894, allocations: 0 / 411.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.01111, allocations: 486.8 kB / 412.2 MB, free: 13.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.01112, allocations: 0 / 412.2 MB, free: 13.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.01112, allocations: 0 / 412.2 MB, free: 13.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.01113, allocations: 0 / 412.2 MB, free: 13.62 MB / 394.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.0006193/0.01175, allocations: 331.5 kB / 412.5 MB, free: 13.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.01179, allocations: 12.03 kB / 412.5 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.01184, allocations: 8.875 kB / 412.5 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.965e-05/0.01192, allocations: 105.8 kB / 412.6 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.01194, allocations: 384 / 412.6 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.01195, allocations: 8.312 kB / 412.6 MB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.01211, allocations: 51.97 kB / 412.7 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.01213, allocations: 192 / 412.7 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.01214, allocations: 4.375 kB / 412.7 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.01215, allocations: 3.938 kB / 412.7 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.819e-05/0.0122, allocations: 33.64 kB / 412.7 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.01235, allocations: 101.3 kB / 412.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.708e-05/0.01244, allocations: 40.28 kB / 412.9 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.01248, allocations: 38.66 kB / 412.9 MB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.01249, allocations: 3.938 kB / 412.9 MB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.268e-05/0.01255, allocations: 60.27 kB / 413 MB, free: 12.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.763e-06/0.01255, allocations: 0 / 413 MB, free: 12.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002918/0.01284, allocations: 118.7 kB / 413.1 MB, free: 12.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.01291, allocations: 85.05 kB / 413.2 MB, free: 12.44 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.426e-05/0.01297, allocations: 89.86 kB / 413.3 MB, free: 12.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.01298, allocations: 25.7 kB / 413.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.955e-05/0.01301, allocations: 80.14 kB / 413.4 MB, free: 12.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.01304, allocations: 4 kB / 413.4 MB, free: 12.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.01308, allocations: 17.84 kB / 413.4 MB, free: 12.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.01321, allocations: 314.8 kB / 413.7 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.921e-05/0.01324, allocations: 29.7 kB / 413.7 MB, free: 11.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.01327, allocations: 29.7 kB / 413.8 MB, free: 11.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.96e-05/0.01332, allocations: 64.27 kB / 413.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01333, allocations: 0 / 413.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001021/0.01343, allocations: 93.03 kB / 413.9 MB, free: 11.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.996e-05/0.01347, allocations: 29.7 kB / 413.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.01348, allocations: 0 / 413.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.0135, allocations: 4.094 kB / 413.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.0135, allocations: 0 / 413.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.01351, allocations: 3.938 kB / 413.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.01353, allocations: 4 kB / 413.9 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.01353, allocations: 0 / 413.9 MB, free: 11.58 MB / 394.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 9.005e-05/0.01362, allocations: 131.5 kB / 414.1 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.01364, allocations: 11.98 kB / 414.1 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.398e-05/0.01365, allocations: 3 kB / 414.1 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.01366, allocations: 3.984 kB / 414.1 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.01367, allocations: 0 / 414.1 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01367, allocations: 7.938 kB / 414.1 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.01381, allocations: 97.33 kB / 414.2 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.01382, allocations: 0 / 414.2 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.073e-06/0.01382, allocations: 0 / 414.2 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.01382, allocations: 0 / 414.2 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.01383, allocations: 3.938 kB / 414.2 MB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.01384, allocations: 0 / 414.2 MB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.01384, allocations: 3.984 kB / 414.2 MB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.014, allocations: 124.4 kB / 414.3 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-06/0.01401, allocations: 4 kB / 414.3 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.01402, allocations: 3.984 kB / 414.3 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.252e-05/0.01403, allocations: 4.031 kB / 414.3 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.01405, allocations: 0 / 414.3 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.01405, allocations: 4 kB / 414.3 MB, free: 11.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.491e-05/0.01408, allocations: 79.22 kB / 414.4 MB, free: 11.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01408, allocations: 0 / 414.4 MB, free: 11.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003552/0.01443, allocations: 123.6 kB / 414.5 MB, free: 10.91 MB / 394.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.0006447/0.01508, allocations: 326.4 kB / 414.9 MB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.0152, allocations: 114.8 kB / 415 MB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.0152, allocations: 4 kB / 415 MB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.242e-05/0.01524, allocations: 81.05 kB / 415.1 MB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.01534, allocations: 7.938 kB / 415.1 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002256/0.01557, allocations: 132.3 kB / 415.2 MB, free: 10.17 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.436e-05/0.01561, allocations: 59.48 kB / 415.2 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.59e-05/0.01563, allocations: 8.5 kB / 415.3 MB, free: 10.09 MB / 394.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01563, allocations: 0 / 415.3 MB, free: 10.09 MB / 394.7 MB Notification: Performance of Templates: time 0.003637/0.01926, allocations: 3.319 MB / 418.6 MB, free: 6.762 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins/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: 5.18217699136585]