Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRH.delay.inertialDelaySensitive.1..x|dLATREGSRH.delay.inertialDelaySensitive.1..y|dLATREGSRH.delay.inertialDelaySensitive.2..x|dLATREGSRH.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRH.delay.inertialDelaySensitive.1..x|dLATREGSRH.delay.inertialDelaySensitive.1..y|dLATREGSRH.delay.inertialDelaySensitive.2..x|dLATREGSRH.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009574/0.0009574, allocations: 183.7 kB / 8.478 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.2 MB / 214.1 MB, free: 5.164 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008203/0.00082, allocations: 86.52 kB / 262.1 MB, free: 5.203 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.872e-06/6.893e-06, allocations: 4 kB / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08578/0.0858, allocations: 47.57 MB / 362.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2707/0.3566, allocations: 81.52 MB / 444.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.3569, allocations: 71.36 kB / 444.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.05301/0.4099, allocations: 30.04 MB / 474.2 MB, free: 132 kB / 314.7 MB Notification: Performance of Transformations before backend: time 4.472e-05/0.41, allocations: 12 kB / 474.2 MB, free: 120 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001912/0.4119, allocations: 1.322 MB / 475.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.412, allocations: 12.03 kB / 475.5 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002858/0.4123, allocations: 138.3 kB / 475.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009365/0.4132, allocations: 0.5201 MB / 476.2 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/0.4133, allocations: 14.88 kB / 476.2 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.708e-05/0.4134, allocations: 31.89 kB / 476.2 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006471/0.414, allocations: 468.1 kB / 476.7 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008738/0.4149, allocations: 0.5921 MB / 477.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4149, allocations: 4 kB / 477.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.44e-05/0.415, allocations: 11.44 kB / 477.3 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.415, allocations: 4 kB / 477.3 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.417, allocations: 1.17 MB / 478.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000713/0.4178, allocations: 0.6877 MB / 479.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000698/0.4185, allocations: 0.683 MB / 479.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.4185, allocations: 7.984 kB / 479.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008047/0.4193, allocations: 0.7006 MB / 480.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/0.4193, allocations: 0 / 480.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.001369/0.4207, allocations: 0.953 MB / 481.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001832/0.4209, allocations: 327.9 kB / 481.8 MB, free: 9.848 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/0.4234, allocations: 1.577 MB / 483.4 MB, free: 8.539 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.24e-05/0.4235, allocations: 45.56 kB / 483.4 MB, free: 8.492 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.4237, allocations: 157.4 kB / 483.6 MB, free: 8.352 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.4238, allocations: 82.61 kB / 483.7 MB, free: 8.285 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.4239, allocations: 8 kB / 483.7 MB, free: 8.277 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002464/0.4241, allocations: 386.4 kB / 484.1 MB, free: 7.914 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006192/0.4247, allocations: 449.8 kB / 484.5 MB, free: 7.609 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005745/0.4253, allocations: 456.2 kB / 484.9 MB, free: 7.301 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.4257, allocations: 304.4 kB / 485.2 MB, free: 7.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4257, allocations: 0 / 485.2 MB, free: 7.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001464/0.4272, allocations: 0.9063 MB / 486.1 MB, free: 6.395 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4272, allocations: 4 kB / 486.1 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4273, allocations: 0 / 486.1 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.4273, allocations: 0 / 486.1 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.087e-05/0.4273, allocations: 7.984 kB / 486.2 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.4273, allocations: 0 / 486.2 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003998/0.4277, allocations: 39.88 kB / 486.2 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/0.4279, allocations: 123.6 kB / 486.3 MB, free: 6.227 MB / 330.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: 37 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004489/0.4284, allocations: 450.2 kB / 486.7 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.4286, allocations: 134.4 kB / 486.9 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004914/0.4291, allocations: 250.3 kB / 487.1 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4291, allocations: 0 / 487.1 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.4291, allocations: 4 kB / 487.1 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4291, allocations: 4 kB / 487.1 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.4318, allocations: 1.867 MB / 489 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4318, allocations: 4 kB / 489 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.001e-05/0.4318, allocations: 7.922 kB / 489 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4318, allocations: 0 / 489 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.097e-05/0.4319, allocations: 35.97 kB / 489 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4319, allocations: 4 kB / 489.1 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4319, allocations: 0 / 489.1 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00149/0.4334, allocations: 1.148 MB / 490.2 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.4346, allocations: 0.694 MB / 490.9 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/0.4348, allocations: 59.97 kB / 491 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.4352, allocations: 39.88 kB / 491 MB, free: 1.555 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000608/0.4358, allocations: 383.6 kB / 491.4 MB, free: 1.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/0.436, allocations: 132 kB / 491.5 MB, free: 1.051 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.001878/0.4379, allocations: 1.287 MB / 492.8 MB, free: 15.76 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005478/0.4385, allocations: 128 kB / 492.9 MB, free: 15.64 MB / 346.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: 33 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.next_assign_val[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRH.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003013/0.4388, allocations: 185.7 kB / 493.1 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.4405, allocations: 1.431 MB / 494.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4405, allocations: 3.938 kB / 494.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.4416, allocations: 1.216 MB / 495.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.4429, allocations: 298 kB / 496 MB, free: 12.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.4466, allocations: 2.516 MB / 498.5 MB, free: 9.859 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/0.4476, allocations: 1.238 MB / 499.8 MB, free: 8.594 MB / 346.7 MB Notification: Performance of SimCode: time 4.3e-07/0.4476, allocations: 0 / 499.8 MB, free: 8.594 MB / 346.7 MB Notification: Performance of Templates: time 0.01878/0.4664, allocations: 14.62 MB / 0.5023 GB, free: 9.605 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DLATREGSRH/DLATREGSRH.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches