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.001179/0.001179, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.004299/0.004299, allocations: 168.1 kB / 25.33 MB, free: 9.031 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 1.002/1.002, allocations: 158.6 MB / 187.2 MB, free: 2.914 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 2.174e-06/2.174e-06, allocations: 0 / 251 MB, free: 3.621 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.968e-05, allocations: 2.312 kB / 251 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003054/0.003084, allocations: 1.778 MB / 252.8 MB, free: 1.824 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.00547, allocations: 0.9636 MB / 253.8 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.259e-05/0.005563, allocations: 0 / 253.8 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.005738, allocations: 23.78 kB / 253.8 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.005857, allocations: 43.59 kB / 253.9 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.006311, allocations: 99.75 kB / 254 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003966/0.006708, allocations: 299.3 kB / 254.2 MB, free: 404 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.006861, allocations: 33.78 kB / 254.3 MB, free: 372 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.008108, allocations: 0.7915 MB / 255.1 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.008322, allocations: 135.6 kB / 255.2 MB, free: 15.44 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.89e-05/0.008391, allocations: 20 kB / 255.2 MB, free: 15.42 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.526e-05/0.008446, allocations: 23.94 kB / 255.2 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.008602, allocations: 139.5 kB / 255.4 MB, free: 15.26 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.008762, allocations: 115.5 kB / 255.5 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006207/0.009383, allocations: 0.5644 MB / 256.1 MB, free: 14.58 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.009386, allocations: 0 / 256.1 MB, free: 14.58 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.009387, allocations: 0 / 256.1 MB, free: 14.58 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.009396, allocations: 3.938 kB / 256.1 MB, free: 14.57 MB / 250.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.001363/0.01076, allocations: 1.263 MB / 257.3 MB, free: 13.22 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.01081, allocations: 15.98 kB / 257.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.01098, allocations: 92.47 kB / 257.4 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.01138, allocations: 349.1 kB / 257.8 MB, free: 12.75 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/0.01143, allocations: 20.55 kB / 257.8 MB, free: 12.73 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.01147, allocations: 16.38 kB / 257.8 MB, free: 12.71 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006279/0.0121, allocations: 481.2 kB / 258.3 MB, free: 12.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.01211, allocations: 0 / 258.3 MB, free: 12.18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.01215, allocations: 8 kB / 258.3 MB, free: 12.18 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.01216, allocations: 4 kB / 258.3 MB, free: 12.17 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.01247, allocations: 341.8 kB / 258.6 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.01376, allocations: 0.804 MB / 259.4 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.01414, allocations: 372.6 kB / 259.8 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.01444, allocations: 349.3 kB / 260.1 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.01445, allocations: 7.938 kB / 260.1 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000531/0.01498, allocations: 0.6066 MB / 260.7 MB, free: 9.426 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.924e-06/0.01499, allocations: 0 / 260.7 MB, free: 9.426 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.001752/0.01674, allocations: 1.357 MB / 262.1 MB, free: 7.914 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.01687, allocations: 285 kB / 262.4 MB, free: 7.574 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.01847, allocations: 1.116 MB / 263.5 MB, free: 6.445 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.01852, allocations: 33.7 kB / 263.5 MB, free: 6.406 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.01863, allocations: 180.8 kB / 263.7 MB, free: 6.223 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.278e-05/0.01869, allocations: 63.53 kB / 263.8 MB, free: 6.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.01884, allocations: 171 kB / 263.9 MB, free: 5.984 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.01897, allocations: 0.504 MB / 264.4 MB, free: 5.469 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.0192, allocations: 337.8 kB / 264.8 MB, free: 5.09 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.01952, allocations: 383.8 kB / 265.1 MB, free: 4.652 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004454/0.01997, allocations: 0.6788 MB / 265.8 MB, free: 3.855 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.01997, allocations: 0 / 265.8 MB, free: 3.855 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000756/0.02073, allocations: 0.9574 MB / 266.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.02085, allocations: 253.5 kB / 267 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.02086, allocations: 4.094 kB / 267 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.02088, allocations: 3.938 kB / 267 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.564e-05/0.02091, allocations: 8 kB / 267 MB, free: 2.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.02092, allocations: 3.984 kB / 267 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.02109, allocations: 31.89 kB / 267.1 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-05/0.02117, allocations: 104.1 kB / 267.2 MB, free: 2.344 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.0004451/0.02162, allocations: 0.615 MB / 267.8 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.02173, allocations: 103.5 kB / 267.9 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.02187, allocations: 106.8 kB / 268 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.02187, allocations: 4 kB / 268 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.02188, allocations: 0 / 268 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.02188, allocations: 0 / 268 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.02334, allocations: 1.679 MB / 269.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.02334, allocations: 0 / 269.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.416e-05/0.02335, allocations: 15.92 kB / 269.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.02336, allocations: 0 / 269.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.02339, allocations: 27.98 kB / 269.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.0234, allocations: 8 kB / 269.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.0234, allocations: 0 / 269.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008721/0.02427, allocations: 1.252 MB / 271 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/0.02471, allocations: 380.8 kB / 271.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.366e-05/0.02479, allocations: 24 kB / 271.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.02491, allocations: 23.98 kB / 271.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.02504, allocations: 55.94 kB / 271.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.629e-05/0.02514, allocations: 115.8 kB / 271.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007884/0.02593, allocations: 0.7288 MB / 272.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02593, allocations: 0 / 272.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002922/0.02622, allocations: 92 kB / 272.4 MB, free: 12.8 MB / 266.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.0001655/0.02638, allocations: 139.2 kB / 272.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008385/0.02722, allocations: 1.207 MB / 273.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02723, allocations: 0 / 273.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004485/0.02767, allocations: 0.8324 MB / 274.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/0.02834, allocations: 302.9 kB / 274.9 MB, free: 9.977 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.02979, allocations: 1.47 MB / 276.3 MB, free: 8.422 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.02991, allocations: 144.2 kB / 276.5 MB, free: 8.262 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.03007, allocations: 89.28 kB / 276.6 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.604e-05/0.03015, allocations: 48.42 kB / 276.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.03015, allocations: 3.938 kB / 276.6 MB, free: 8.125 MB / 266.7 MB Notification: Performance of Templates: time 0.01183/0.04198, allocations: 10.8 MB / 287.4 MB, free: 13.3 MB / 282.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 -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: 3.079989877063781]