Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001745/0.001745, allocations: 105.2 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00218/0.00218, allocations: 214.6 kB / 22.99 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 230.2 MB / 256.2 MB, free: 8.551 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 60.09 kB / 376.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3447, allocations: 53.33 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003649/0.3483, allocations: 1.829 MB / 431.6 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002879/0.3512, allocations: 0.9939 MB / 432.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.3513, allocations: 4 kB / 432.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.3515, allocations: 19.78 kB / 432.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.3516, allocations: 47.64 kB / 432.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.352, allocations: 91.83 kB / 432.8 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004415/0.3525, allocations: 291.4 kB / 433.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.3526, allocations: 37.64 kB / 433.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000887/0.3535, allocations: 0.7447 MB / 433.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.3537, allocations: 151.4 kB / 434 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.703e-05/0.3538, allocations: 24 kB / 434 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-05/0.3539, allocations: 20 kB / 434 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.354, allocations: 143.4 kB / 434.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002491/0.3543, allocations: 238.2 kB / 434.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008118/0.3551, allocations: 0.7559 MB / 435.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3551, allocations: 0 / 435.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3551, allocations: 7.938 kB / 435.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.3551, allocations: 0 / 435.2 MB, free: 2.148 MB / 334.1 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.001403/0.3565, allocations: 1.188 MB / 436.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3566, allocations: 15.97 kB / 436.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.3567, allocations: 80.41 kB / 436.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.3572, allocations: 393 kB / 436.8 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.3572, allocations: 12.56 kB / 436.8 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.3573, allocations: 16.38 kB / 436.9 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.3578, allocations: 262.2 kB / 437.1 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3578, allocations: 4 kB / 437.1 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.3579, allocations: 8 kB / 437.1 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3579, allocations: 0 / 437.1 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.3582, allocations: 136.3 kB / 437.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.3594, allocations: 0.7309 MB / 438 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/0.3597, allocations: 162.4 kB / 438.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.36, allocations: 140.7 kB / 438.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.36, allocations: 4 kB / 438.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006503/0.3607, allocations: 381.9 kB / 438.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 3.597e-06/0.3607, allocations: 3.984 kB / 438.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001565/0.3623, allocations: 0.9323 MB / 439.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001913/0.3625, allocations: 285 kB / 439.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.3638, allocations: 0.9491 MB / 440.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.3638, allocations: 37.7 kB / 440.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.3639, allocations: 126.1 kB / 441 MB, free: 11.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.524e-05/0.364, allocations: 75.47 kB / 441.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.3643, allocations: 161.3 kB / 441.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.3645, allocations: 334.8 kB / 441.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.3647, allocations: 128.2 kB / 441.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.365, allocations: 165.3 kB / 441.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007492/0.3658, allocations: 0.6989 MB / 442.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3658, allocations: 3.938 kB / 442.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001101/0.3669, allocations: 0.7527 MB / 443.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.367, allocations: 248.2 kB / 443.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.3671, allocations: 8.094 kB / 443.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.3671, allocations: 0 / 443.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.715e-05/0.3671, allocations: 4 kB / 443.5 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3671, allocations: 8 kB / 443.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.3674, allocations: 31.92 kB / 443.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.3675, allocations: 104.2 kB / 443.7 MB, free: 9 MB / 350.1 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.0006782/0.3682, allocations: 0.62 MB / 444.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.3683, allocations: 83.53 kB / 444.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.3685, allocations: 130.9 kB / 444.5 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3685, allocations: 0 / 444.5 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3685, allocations: 0 / 444.5 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.3685, allocations: 4 kB / 444.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.3704, allocations: 1.429 MB / 446 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3704, allocations: 0 / 446 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.3704, allocations: 4 kB / 446 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.3705, allocations: 0 / 446 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.625e-05/0.3705, allocations: 31.98 kB / 446 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3705, allocations: 4 kB / 446 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3705, allocations: 0 / 446 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.3718, allocations: 0.9691 MB / 447 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000664/0.3725, allocations: 424.1 kB / 447.4 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.3726, allocations: 24 kB / 447.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.3728, allocations: 19.98 kB / 447.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.373, allocations: 55.94 kB / 447.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.3731, allocations: 115.9 kB / 447.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009856/0.3741, allocations: 0.6859 MB / 448.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3741, allocations: 0 / 448.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004102/0.3745, allocations: 99.88 kB / 448.4 MB, free: 4.066 MB / 350.1 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.0002374/0.3747, allocations: 151.2 kB / 448.5 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.3758, allocations: 0.7677 MB / 449.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.3758, allocations: 4.188 kB / 449.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006075/0.3764, allocations: 0.6046 MB / 449.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.3775, allocations: 275.5 kB / 450.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.3798, allocations: 1.296 MB / 451.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007653/0.3805, allocations: 0.9442 MB / 452.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002605/0.3808, allocations: 93.33 kB / 452.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.3809, allocations: 55.34 kB / 452.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3809, allocations: 0 / 452.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of Templates: time 0.01639/0.3973, allocations: 9.597 MB / 462.1 MB, free: 6.09 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.8273935141041875]