Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.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.00115/0.00115, allocations: 76.81 kB / 22.28 MB, free: 2.211 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.0009602/0.0009602, allocations: 166.8 kB / 25.69 MB, free: 7.438 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.9241/0.9241, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.594e-05, allocations: 2.312 kB / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002433/0.002449, allocations: 1.811 MB / 253.4 MB, free: 5.395 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.004368, allocations: 0.9713 MB / 254.4 MB, free: 4.414 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.758e-05/0.004466, allocations: 0 / 254.4 MB, free: 4.414 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.004638, allocations: 27.72 kB / 254.4 MB, free: 4.387 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.004757, allocations: 47.59 kB / 254.4 MB, free: 4.34 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.005165, allocations: 103.8 kB / 254.5 MB, free: 4.238 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003791/0.005544, allocations: 299.3 kB / 254.8 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.005657, allocations: 38.38 kB / 254.9 MB, free: 3.91 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008133/0.006471, allocations: 0.7292 MB / 255.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.006685, allocations: 131.6 kB / 255.7 MB, free: 3.051 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.006747, allocations: 20 kB / 255.7 MB, free: 3.031 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.498e-05/0.006792, allocations: 20 kB / 255.8 MB, free: 3.012 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.006923, allocations: 147.4 kB / 255.9 MB, free: 2.867 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.007062, allocations: 111.5 kB / 256 MB, free: 2.758 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007737/0.007836, allocations: 0.5682 MB / 256.6 MB, free: 2.188 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.007838, allocations: 4 kB / 256.6 MB, free: 2.184 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.007839, allocations: 0 / 256.6 MB, free: 2.184 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.007847, allocations: 0 / 256.6 MB, free: 2.184 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0009522/0.008799, allocations: 1.064 MB / 257.6 MB, free: 1.039 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.008834, allocations: 11.98 kB / 257.7 MB, free: 1.027 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.008934, allocations: 68.81 kB / 257.7 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.009241, allocations: 326.3 kB / 258 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.009268, allocations: 12.56 kB / 258.1 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.009303, allocations: 16.38 kB / 258.1 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.009709, allocations: 441.2 kB / 258.5 MB, free: 100 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.009717, allocations: 0 / 258.5 MB, free: 100 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.009745, allocations: 15.98 kB / 258.5 MB, free: 84 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.009751, allocations: 4 kB / 258.5 MB, free: 80 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.009965, allocations: 301.8 kB / 258.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006411/0.01061, allocations: 403.6 kB / 259.2 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.01086, allocations: 340 kB / 259.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.01106, allocations: 314.4 kB / 259.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.01107, allocations: 4 kB / 259.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004281/0.0115, allocations: 0.5503 MB / 260.4 MB, free: 13.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.814e-06/0.0115, allocations: 0 / 260.4 MB, free: 13.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008451/0.01235, allocations: 1.014 MB / 261.4 MB, free: 12.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.01247, allocations: 285 kB / 261.7 MB, free: 12.43 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007403/0.01321, allocations: 0.6284 MB / 262.3 MB, free: 11.79 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.01325, allocations: 37.7 kB / 262.4 MB, free: 11.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.01331, allocations: 106.1 kB / 262.5 MB, free: 11.64 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.061e-05/0.01338, allocations: 67.56 kB / 262.5 MB, free: 11.57 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.01355, allocations: 145.3 kB / 262.7 MB, free: 11.42 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.01364, allocations: 338.8 kB / 263 MB, free: 11.08 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.01399, allocations: 293.8 kB / 263.3 MB, free: 10.75 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.01421, allocations: 333.5 kB / 263.6 MB, free: 10.36 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.0146, allocations: 0.6352 MB / 264.3 MB, free: 9.609 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01461, allocations: 4 kB / 264.3 MB, free: 9.605 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000485/0.01509, allocations: 0.688 MB / 264.9 MB, free: 8.812 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.0152, allocations: 249.5 kB / 265.2 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.01521, allocations: 0 / 265.2 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.01522, allocations: 3.938 kB / 265.2 MB, free: 8.516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.848e-05/0.01525, allocations: 8 kB / 265.2 MB, free: 8.508 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.01525, allocations: 0 / 265.2 MB, free: 8.508 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.01541, allocations: 35.88 kB / 265.2 MB, free: 8.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.539e-05/0.0155, allocations: 100.2 kB / 265.3 MB, free: 8.375 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,wiredX.auxiliary[2],wiredX.auxiliary[1],bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.yy,bUF3S1.nextstate,x_table1.y,e_table1.y,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.yy,bUF3S2.nextstate,x_table2.y,e_table2.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wiredX.auxiliary[2],wiredX.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * 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 0.0004734/0.01598, allocations: 0.5683 MB / 265.9 MB, free: 7.746 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.387e-05/0.01606, allocations: 67.94 kB / 266 MB, free: 7.68 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.01624, allocations: 110.9 kB / 266.1 MB, free: 7.566 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01624, allocations: 7.875 kB / 266.1 MB, free: 7.559 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.01625, allocations: 7.984 kB / 266.1 MB, free: 7.551 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01625, allocations: 0 / 266.1 MB, free: 7.551 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008623/0.01711, allocations: 1.037 MB / 267.1 MB, free: 6.391 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01711, allocations: 4 kB / 267.1 MB, free: 6.387 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.705e-05/0.01713, allocations: 4 kB / 267.1 MB, free: 6.383 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.01713, allocations: 7.938 kB / 267.1 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.01718, allocations: 19.97 kB / 267.2 MB, free: 6.355 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.01718, allocations: 7.938 kB / 267.2 MB, free: 6.348 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01718, allocations: 0 / 267.2 MB, free: 6.348 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006403/0.01782, allocations: 0.854 MB / 268 MB, free: 5.379 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004706/0.01829, allocations: 281.2 kB / 268.3 MB, free: 5.094 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.609e-05/0.01838, allocations: 24 kB / 268.3 MB, free: 5.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.01855, allocations: 27.92 kB / 268.4 MB, free: 5.043 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.01866, allocations: 43.95 kB / 268.4 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.01877, allocations: 107.8 kB / 268.5 MB, free: 4.895 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004152/0.01918, allocations: 304.4 kB / 268.8 MB, free: 4.598 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.01918, allocations: 0 / 268.8 MB, free: 4.598 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003257/0.01951, allocations: 92 kB / 268.9 MB, free: 4.508 MB / 250.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: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * 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.0001437/0.01965, allocations: 124.3 kB / 269 MB, free: 4.375 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008156/0.02047, allocations: 1.128 MB / 270.1 MB, free: 3.047 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.02047, allocations: 8.062 kB / 270.1 MB, free: 3.039 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004122/0.02089, allocations: 0.8051 MB / 270.9 MB, free: 2.082 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/0.02157, allocations: 281.7 kB / 271.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.02316, allocations: 1.421 MB / 272.6 MB, free: 320 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.0233, allocations: 152.2 kB / 272.8 MB, free: 148 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000167/0.02347, allocations: 93.27 kB / 272.9 MB, free: 56 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006003/0.02407, allocations: 285.1 kB / 273.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02407, allocations: 0 / 273.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of Templates: time 0.01202/0.03609, allocations: 9.377 MB / 282.5 MB, free: 6.395 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.804126904346049]