Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.081/1.081, allocations: 173.4 MB / 201.1 MB, free: 9 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 3.938 kB / 268 MB, free: 6.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.887e-05/2.011e-05, allocations: 2.312 kB / 268 MB, free: 6.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002369/0.002389, allocations: 1.774 MB / 269.8 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.003938, allocations: 0.9353 MB / 270.7 MB, free: 3.574 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.779e-05/0.004016, allocations: 0 / 270.7 MB, free: 3.574 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.004164, allocations: 27.78 kB / 270.7 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.128e-05/0.004245, allocations: 47.64 kB / 270.8 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.004605, allocations: 95.77 kB / 270.9 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.00489, allocations: 295.3 kB / 271.2 MB, free: 3.117 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.005, allocations: 33.78 kB / 271.2 MB, free: 3.082 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006014/0.005601, allocations: 0.7915 MB / 272 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.00575, allocations: 127.6 kB / 272.1 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/0.005801, allocations: 24 kB / 272.1 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.371e-05/0.005845, allocations: 24 kB / 272.1 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.005957, allocations: 131.5 kB / 272.3 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.006077, allocations: 123.4 kB / 272.4 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.006529, allocations: 0.5682 MB / 273 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.006531, allocations: 0 / 273 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006531, allocations: 0 / 273 MB, free: 1.297 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.006538, allocations: 0 / 273 MB, free: 1.297 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.0009551/0.007493, allocations: 1.268 MB / 274.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.007535, allocations: 16.84 kB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.007655, allocations: 96.47 kB / 274.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.007944, allocations: 337.2 kB / 274.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.007973, allocations: 20.56 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.008006, allocations: 20.31 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004529/0.008459, allocations: 479.5 kB / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.008467, allocations: 4 kB / 275.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.008493, allocations: 4 kB / 275.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.0085, allocations: 4 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000529/0.009029, allocations: 345.8 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008981/0.009927, allocations: 0.8079 MB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.01022, allocations: 376.1 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.01044, allocations: 353.2 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.01045, allocations: 3.938 kB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000409/0.01086, allocations: 0.6043 MB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.544e-06/0.01086, allocations: 0 / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001024/0.01188, allocations: 1.361 MB / 279 MB, free: 10.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/0.01198, allocations: 289 kB / 279.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.013, allocations: 1.108 MB / 280.4 MB, free: 9.164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.01303, allocations: 41.69 kB / 280.4 MB, free: 9.117 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/0.01311, allocations: 172.8 kB / 280.6 MB, free: 8.941 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.01318, allocations: 59.59 kB / 280.7 MB, free: 8.883 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.01332, allocations: 171 kB / 280.8 MB, free: 8.707 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.01344, allocations: 0.5079 MB / 281.4 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.01365, allocations: 333.8 kB / 281.7 MB, free: 7.812 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.01386, allocations: 376.8 kB / 282 MB, free: 7.379 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/0.01478, allocations: 0.6788 MB / 282.7 MB, free: 6.582 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.01478, allocations: 0 / 282.7 MB, free: 6.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007735/0.01556, allocations: 0.9729 MB / 283.7 MB, free: 5.504 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.01566, allocations: 249.6 kB / 283.9 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01567, allocations: 0 / 283.9 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.01568, allocations: 0 / 283.9 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.975e-05/0.01571, allocations: 16.08 kB / 284 MB, free: 5.195 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.01571, allocations: 0 / 284 MB, free: 5.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.01585, allocations: 31.92 kB / 284 MB, free: 5.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.029e-05/0.01593, allocations: 100.2 kB / 284.1 MB, free: 5.066 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.0003981/0.01633, allocations: 0.615 MB / 284.7 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.455e-05/0.01642, allocations: 107.4 kB / 284.8 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.01653, allocations: 102.9 kB / 284.9 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01653, allocations: 0 / 284.9 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01654, allocations: 0 / 284.9 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01654, allocations: 7.984 kB / 284.9 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.01782, allocations: 1.691 MB / 286.6 MB, free: 2.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01783, allocations: 0 / 286.6 MB, free: 2.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.126e-05/0.01784, allocations: 7.984 kB / 286.6 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.01784, allocations: 4 kB / 286.6 MB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.01787, allocations: 27.98 kB / 286.6 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01788, allocations: 0 / 286.6 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01788, allocations: 4 kB / 286.6 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007853/0.01866, allocations: 1.244 MB / 287.9 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004076/0.01907, allocations: 380.9 kB / 288.3 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/0.01914, allocations: 20 kB / 288.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.01925, allocations: 27.98 kB / 288.3 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.01936, allocations: 55.94 kB / 288.4 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.298e-05/0.01944, allocations: 119.8 kB / 288.5 MB, free: 348 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0009291/0.02037, allocations: 0.7249 MB / 289.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02037, allocations: 0 / 289.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002495/0.02062, allocations: 95.95 kB / 289.3 MB, free: 15.52 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.0001121/0.02073, allocations: 147.2 kB / 289.4 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006674/0.0214, allocations: 1.197 MB / 290.6 MB, free: 13.97 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.0214, allocations: 0 / 290.6 MB, free: 13.97 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003917/0.02179, allocations: 0.8363 MB / 291.5 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/0.02238, allocations: 300.5 kB / 291.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.02365, allocations: 1.464 MB / 293.2 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.02377, allocations: 148.1 kB / 293.4 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.02391, allocations: 93.27 kB / 293.5 MB, free: 10.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.02398, allocations: 48.42 kB / 293.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02398, allocations: 0 / 293.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of Templates: time 0.01133/0.03531, allocations: 10.82 MB / 304.3 MB, free: 160 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.9967935369350016]