Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001008/0.001008, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.001175/0.001175, allocations: 162.2 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.071/1.071, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 273 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.389e-05/3.62e-05, allocations: 6.25 kB / 273.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002898/0.002934, allocations: 1.788 MB / 274.8 MB, free: 24 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.004806, allocations: 0.9548 MB / 275.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.004934, allocations: 0 / 275.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.005154, allocations: 31.72 kB / 275.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.307e-05/0.005247, allocations: 35.72 kB / 275.9 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.005725, allocations: 107.7 kB / 276 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000368/0.006093, allocations: 295.3 kB / 276.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.006243, allocations: 37.77 kB / 276.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007181/0.006962, allocations: 0.7876 MB / 277.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.007144, allocations: 131.6 kB / 277.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.006e-05/0.007194, allocations: 20 kB / 277.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.676e-05/0.007241, allocations: 28 kB / 277.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.007358, allocations: 139.4 kB / 277.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.007488, allocations: 119.4 kB / 277.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.00796, allocations: 0.5644 MB / 278.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.007964, allocations: 0 / 278.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.007965, allocations: 3.938 kB / 278.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.007975, allocations: 0 / 278.1 MB, free: 12.78 MB / 266.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.00117/0.009145, allocations: 1.271 MB / 279.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.009184, allocations: 8.031 kB / 279.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.009319, allocations: 92.47 kB / 279.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.009647, allocations: 349.1 kB / 279.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.009679, allocations: 16.56 kB / 279.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.009711, allocations: 16.38 kB / 279.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.01028, allocations: 478.1 kB / 280.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.01029, allocations: 0 / 280.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.01032, allocations: 12 kB / 280.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.01033, allocations: 4 kB / 280.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.01057, allocations: 353.7 kB / 280.6 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009559/0.01152, allocations: 0.7962 MB / 281.4 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.01196, allocations: 380.5 kB / 281.8 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.01232, allocations: 345.2 kB / 282.2 MB, free: 8.324 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.01234, allocations: 4 kB / 282.2 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000419/0.01275, allocations: 0.6027 MB / 282.8 MB, free: 7.629 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.244e-06/0.01276, allocations: 0 / 282.8 MB, free: 7.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001049/0.01381, allocations: 1.365 MB / 284.1 MB, free: 6.109 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.01392, allocations: 293 kB / 284.4 MB, free: 5.762 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.01503, allocations: 1.108 MB / 285.5 MB, free: 4.637 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.01507, allocations: 37.7 kB / 285.6 MB, free: 4.594 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.032e-05/0.01516, allocations: 172.8 kB / 285.7 MB, free: 4.418 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.879e-05/0.01522, allocations: 71.48 kB / 285.8 MB, free: 4.348 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.01537, allocations: 167 kB / 286 MB, free: 4.176 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.01549, allocations: 0.504 MB / 286.5 MB, free: 3.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.01571, allocations: 337.8 kB / 286.8 MB, free: 3.281 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.01593, allocations: 376.8 kB / 287.2 MB, free: 2.848 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.01632, allocations: 0.6819 MB / 287.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.01632, allocations: 0 / 287.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007198/0.01704, allocations: 0.9621 MB / 288.8 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.01714, allocations: 249.5 kB / 289 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01715, allocations: 4 kB / 289 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.01717, allocations: 0 / 289 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.029e-05/0.0172, allocations: 12.09 kB / 289.1 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.01721, allocations: 3.984 kB / 289.1 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.0174, allocations: 27.95 kB / 289.1 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.214e-05/0.01748, allocations: 108.1 kB / 289.2 MB, free: 0.5352 MB / 266.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.0004561/0.01794, allocations: 0.6111 MB / 289.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.935e-05/0.01803, allocations: 103.5 kB / 289.9 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.01818, allocations: 110.8 kB / 290 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.01818, allocations: 0 / 290 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.01819, allocations: 0 / 290 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.01819, allocations: 4 kB / 290 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.01972, allocations: 1.687 MB / 291.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.01972, allocations: 0 / 291.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.902e-05/0.01974, allocations: 15.86 kB / 291.7 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.01974, allocations: 4 kB / 291.7 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.01978, allocations: 27.98 kB / 291.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01978, allocations: 0 / 291.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.01978, allocations: 8 kB / 291.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009087/0.02069, allocations: 1.233 MB / 293 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004545/0.02115, allocations: 380.9 kB / 293.4 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.024e-05/0.02123, allocations: 27.94 kB / 293.4 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.02137, allocations: 19.98 kB / 293.4 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.0215, allocations: 55.94 kB / 293.5 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.269e-05/0.02159, allocations: 115.9 kB / 293.6 MB, free: 11.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007673/0.02236, allocations: 0.7249 MB / 294.3 MB, free: 11.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02236, allocations: 0 / 294.3 MB, free: 11.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003547/0.02272, allocations: 92 kB / 294.4 MB, free: 11 MB / 282.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.000183/0.0229, allocations: 147.2 kB / 294.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008321/0.02373, allocations: 1.205 MB / 295.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.02373, allocations: 0 / 295.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004431/0.02418, allocations: 0.8398 MB / 296.6 MB, free: 8.457 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009051/0.02508, allocations: 295.1 kB / 296.9 MB, free: 8.191 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.02668, allocations: 1.476 MB / 298.4 MB, free: 6.629 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.0268, allocations: 148.2 kB / 298.5 MB, free: 6.465 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.02698, allocations: 93.25 kB / 298.6 MB, free: 6.371 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/0.02706, allocations: 48.44 kB / 298.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of SimCode: time 1.482e-06/0.02707, allocations: 0 / 298.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of Templates: time 0.1203/0.1474, allocations: 10.29 MB / 308.9 MB, free: 43.34 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.184081149054691]