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.0007885/0.0007885, allocations: 84 kB / 21.43 MB, free: 3.129 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.003764/0.003764, allocations: 144.4 kB / 24.68 MB, free: 9.426 MB / 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 0.8231/0.8231, allocations: 173.4 MB / 201.2 MB, free: 9.438 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.763e-06/1.763e-06, allocations: 0 / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.88e-05, allocations: 13.45 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.001662/0.00168, allocations: 1.709 MB / 321.4 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.002973, allocations: 0.9003 MB / 322.3 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.003032, allocations: 0 / 322.3 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.003166, allocations: 23.78 kB / 322.3 MB, free: 3.195 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.469e-05/0.00323, allocations: 47.59 kB / 322.4 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.003511, allocations: 99.44 kB / 322.5 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000259/0.00377, allocations: 303.3 kB / 322.8 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.003874, allocations: 37.7 kB / 322.8 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004987/0.004373, allocations: 0.7877 MB / 323.6 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.004501, allocations: 135.5 kB / 323.7 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.004543, allocations: 20 kB / 323.7 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.655e-05/0.004579, allocations: 20 kB / 323.8 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.488e-05/0.004674, allocations: 143.4 kB / 323.9 MB, free: 1.613 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.539e-05/0.00477, allocations: 123.6 kB / 324 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.005206, allocations: 0.7552 MB / 324.8 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.005209, allocations: 0 / 324.8 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00521, allocations: 0 / 324.8 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.005215, allocations: 0 / 324.8 MB, free: 0.7344 MB / 282.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.0007778/0.005992, allocations: 1.116 MB / 325.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.006025, allocations: 8.922 kB / 325.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.828e-05/0.006104, allocations: 80.42 kB / 326 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.006371, allocations: 346.3 kB / 326.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.006393, allocations: 12.56 kB / 326.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.006421, allocations: 16.38 kB / 326.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006484/0.00707, allocations: 496.6 kB / 326.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.007079, allocations: 0 / 326.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.007102, allocations: 12 kB / 326.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.007107, allocations: 4 kB / 326.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.007353, allocations: 385.7 kB / 327.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006411/0.007994, allocations: 0.6214 MB / 327.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.008267, allocations: 388.1 kB / 328.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.008481, allocations: 370.5 kB / 328.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.008494, allocations: 4 kB / 328.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004046/0.008898, allocations: 0.6361 MB / 329.2 MB, free: 11.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.172e-06/0.0089, allocations: 0 / 329.2 MB, free: 11.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009827/0.009882, allocations: 1.408 MB / 330.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.837e-05/0.009971, allocations: 281 kB / 330.9 MB, free: 9.949 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007148/0.01069, allocations: 0.953 MB / 331.9 MB, free: 8.988 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.01071, allocations: 37.7 kB / 331.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.01078, allocations: 130 kB / 332 MB, free: 8.812 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.01083, allocations: 63.59 kB / 332.1 MB, free: 8.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.01094, allocations: 161.3 kB / 332.2 MB, free: 8.586 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.01103, allocations: 338.8 kB / 332.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.01125, allocations: 373.8 kB / 332.9 MB, free: 7.832 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.01149, allocations: 401.5 kB / 333.3 MB, free: 7.379 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.01215, allocations: 0.7261 MB / 334.1 MB, free: 6.539 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01215, allocations: 4 kB / 334.1 MB, free: 6.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006549/0.01281, allocations: 1.008 MB / 335.1 MB, free: 5.426 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.086e-05/0.0129, allocations: 249.5 kB / 335.3 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.0129, allocations: 96 / 335.3 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.01292, allocations: 4 kB / 335.3 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.193e-05/0.01294, allocations: 8 kB / 335.3 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01294, allocations: 3.938 kB / 335.3 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.01308, allocations: 31.92 kB / 335.4 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.026e-05/0.01315, allocations: 104.1 kB / 335.5 MB, free: 4.984 MB / 298.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.0003584/0.01351, allocations: 0.6124 MB / 336.1 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.01356, allocations: 83.48 kB / 336.2 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.01368, allocations: 130.8 kB / 336.3 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01368, allocations: 4 kB / 336.3 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01369, allocations: 0 / 336.3 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01369, allocations: 0 / 336.3 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.01477, allocations: 1.567 MB / 337.9 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.01477, allocations: 7.969 kB / 337.9 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.006e-05/0.01478, allocations: 11.94 kB / 337.9 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01478, allocations: 0 / 337.9 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.01481, allocations: 27.98 kB / 337.9 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.01481, allocations: 0 / 337.9 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01481, allocations: 0 / 337.9 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007661/0.01558, allocations: 1.229 MB / 339.1 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005391/0.01612, allocations: 432.7 kB / 339.5 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/0.01618, allocations: 16 kB / 339.6 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.0163, allocations: 27.98 kB / 339.6 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.01641, allocations: 55.94 kB / 339.6 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.554e-05/0.01647, allocations: 103.9 kB / 339.7 MB, free: 384 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008044/0.01728, allocations: 0.6899 MB / 340.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.01728, allocations: 0 / 340.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000223/0.0175, allocations: 92 kB / 340.5 MB, free: 15.6 MB / 314.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.0001161/0.01762, allocations: 147.2 kB / 340.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007173/0.01833, allocations: 1.244 MB / 341.9 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01834, allocations: 7.938 kB / 341.9 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003971/0.01873, allocations: 0.8445 MB / 342.8 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.0193, allocations: 270.7 kB / 343 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.02059, allocations: 1.599 MB / 344.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.02085, allocations: 352.8 kB / 345 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-05/0.02093, allocations: 56.41 kB / 345 MB, free: 10.65 MB / 314.7 MB Notification: Performance of SimCode: time 5.72e-07/0.02093, allocations: 0 / 345 MB, free: 10.65 MB / 314.7 MB Notification: Performance of Templates: time 0.004547/0.02548, allocations: 5.354 MB / 350.4 MB, free: 5.281 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.815929832868278]