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.001271/0.001271, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.004454/0.004454, allocations: 142.1 kB / 24.97 MB, free: 8.316 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 1.047/1.047, allocations: 173.3 MB / 201.5 MB, free: 9.32 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.643e-06/1.643e-06, allocations: 0 / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.244e-05, allocations: 6.25 kB / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.001991/0.002014, allocations: 1.763 MB / 269.8 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.003601, allocations: 0.9237 MB / 270.8 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.528e-05/0.003666, allocations: 4 kB / 270.8 MB, free: 4 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.239e-05/0.003749, allocations: 23.72 kB / 270.8 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.317e-05/0.003812, allocations: 39.66 kB / 270.8 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.004057, allocations: 115.7 kB / 270.9 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.004301, allocations: 287.3 kB / 271.2 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.057e-05/0.004382, allocations: 41.7 kB / 271.3 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005413/0.004923, allocations: 0.7877 MB / 272.1 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.005048, allocations: 139.5 kB / 272.2 MB, free: 2.574 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.005083, allocations: 20 kB / 272.2 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.157e-05/0.005114, allocations: 20 kB / 272.2 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.812e-05/0.005212, allocations: 135.5 kB / 272.4 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.005319, allocations: 115.5 kB / 272.5 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.00573, allocations: 0.576 MB / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.005731, allocations: 0 / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005732, allocations: 4 kB / 273.1 MB, free: 1.707 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.005737, allocations: 0 / 273.1 MB, free: 1.707 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.0009134/0.006651, allocations: 1.259 MB / 274.3 MB, free: 368 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.665e-05/0.006677, allocations: 12.92 kB / 274.3 MB, free: 356 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.006778, allocations: 96.42 kB / 274.4 MB, free: 260 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.00704, allocations: 345.1 kB / 274.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.00706, allocations: 12.56 kB / 274.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.007089, allocations: 16.38 kB / 274.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.007509, allocations: 485.2 kB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.007514, allocations: 8 kB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.007539, allocations: 8 kB / 275.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.007546, allocations: 4 kB / 275.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.007773, allocations: 337.8 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009295/0.008703, allocations: 0.8079 MB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.008976, allocations: 372.6 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.009213, allocations: 349.2 kB / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.00922, allocations: 0 / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003487/0.009569, allocations: 0.6027 MB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.062e-06/0.00957, allocations: 0 / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001051/0.01062, allocations: 1.361 MB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.43e-05/0.01072, allocations: 288.9 kB / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.01176, allocations: 1.116 MB / 280.5 MB, free: 9.582 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.01179, allocations: 33.7 kB / 280.5 MB, free: 9.543 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.482e-05/0.01186, allocations: 180.8 kB / 280.7 MB, free: 9.359 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.01192, allocations: 63.55 kB / 280.8 MB, free: 9.297 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.01205, allocations: 167 kB / 280.9 MB, free: 9.125 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.01217, allocations: 0.5079 MB / 281.4 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.01239, allocations: 337.8 kB / 281.8 MB, free: 8.227 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.0126, allocations: 376.8 kB / 282.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005358/0.01314, allocations: 0.6709 MB / 282.8 MB, free: 7.004 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.01314, allocations: 0 / 282.8 MB, free: 7.004 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007029/0.01384, allocations: 0.9652 MB / 283.8 MB, free: 5.934 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.794e-05/0.01393, allocations: 253.5 kB / 284 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.01394, allocations: 0 / 284 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.01394, allocations: 4 kB / 284 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.759e-05/0.01396, allocations: 11.94 kB / 284 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.01396, allocations: 0 / 284 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.01409, allocations: 31.88 kB / 284.1 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.639e-05/0.01417, allocations: 116.1 kB / 284.2 MB, free: 5.477 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.0003998/0.01457, allocations: 0.619 MB / 284.8 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.689e-05/0.01466, allocations: 95.53 kB / 284.9 MB, free: 4.703 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.01478, allocations: 110.8 kB / 285 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.01478, allocations: 0 / 285 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.01479, allocations: 0 / 285 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.01479, allocations: 4 kB / 285 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.01614, allocations: 1.68 MB / 286.7 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.01614, allocations: 0 / 286.7 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.01615, allocations: 11.92 kB / 286.7 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01615, allocations: 4 kB / 286.7 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.01619, allocations: 35.97 kB / 286.7 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.0162, allocations: 0 / 286.7 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.0162, allocations: 0 / 286.7 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008767/0.01707, allocations: 1.241 MB / 288 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/0.01752, allocations: 392.8 kB / 288.3 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/0.01759, allocations: 20 kB / 288.4 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.01771, allocations: 23.98 kB / 288.4 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.667e-05/0.0178, allocations: 55.94 kB / 288.4 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-05/0.01788, allocations: 111.9 kB / 288.5 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0008388/0.01872, allocations: 0.7327 MB / 289.3 MB, free: 32 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01872, allocations: 0 / 289.3 MB, free: 32 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002659/0.01898, allocations: 92.05 kB / 289.4 MB, free: 15.94 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.0001213/0.0191, allocations: 139.2 kB / 289.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007247/0.01983, allocations: 1.197 MB / 290.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01983, allocations: 0 / 290.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004901/0.02032, allocations: 0.8443 MB / 291.5 MB, free: 13.4 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006564/0.02098, allocations: 308.9 kB / 291.9 MB, free: 13.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.02237, allocations: 1.464 MB / 293.3 MB, free: 11.58 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.0225, allocations: 144.2 kB / 293.5 MB, free: 11.42 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.02266, allocations: 93.27 kB / 293.5 MB, free: 11.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.02273, allocations: 52.42 kB / 293.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02273, allocations: 4 kB / 293.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of Templates: time 0.01105/0.03379, allocations: 10.29 MB / 303.9 MB, free: 1.098 MB / 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: 3.102637869073078]