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.001418/0.001418, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001526/0.001526, allocations: 207.5 kB / 23.73 MB, free: 4.391 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.521/1.521, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.002146/0.002146, allocations: 67.89 kB / 378.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.3, allocations: 53.4 MB / 431.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.004101/0.3041, allocations: 1.735 MB / 433.4 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003226/0.3073, allocations: 0.9355 MB / 434.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.3074, allocations: 0 / 434.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.3076, allocations: 23.78 kB / 434.3 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.3077, allocations: 43.64 kB / 434.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005014/0.3082, allocations: 95.77 kB / 434.5 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006023/0.3088, allocations: 299.4 kB / 434.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.309, allocations: 33.73 kB / 434.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.3102, allocations: 0.7447 MB / 435.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003632/0.3106, allocations: 155.4 kB / 435.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.3107, allocations: 20 kB / 435.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.255e-05/0.3108, allocations: 20 kB / 435.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002924/0.3111, allocations: 135.4 kB / 435.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.3113, allocations: 178.6 kB / 436 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.3125, allocations: 0.7529 MB / 436.8 MB, free: 1.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.3125, allocations: 4 kB / 436.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3125, allocations: 0 / 436.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.3125, allocations: 0 / 436.8 MB, free: 1.344 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.001743/0.3142, allocations: 1.117 MB / 437.9 MB, free: 148 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3143, allocations: 11.98 kB / 437.9 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.3144, allocations: 84.45 kB / 438 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006614/0.3151, allocations: 343.1 kB / 438.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.3151, allocations: 12.56 kB / 438.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.39e-05/0.3152, allocations: 16.38 kB / 438.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.3162, allocations: 488 kB / 438.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3162, allocations: 0 / 438.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.667e-05/0.3163, allocations: 12 kB / 438.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3163, allocations: 0 / 438.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007007/0.317, allocations: 377.8 kB / 439.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.3186, allocations: 0.6292 MB / 439.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007118/0.3193, allocations: 384.1 kB / 440.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007558/0.3201, allocations: 370.4 kB / 440.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.3201, allocations: 3.938 kB / 440.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.3212, allocations: 0.6243 MB / 441.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 3.096e-06/0.3212, allocations: 3.938 kB / 441.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002677/0.3239, allocations: 1.408 MB / 442.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002467/0.3241, allocations: 285 kB / 442.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/0.3262, allocations: 0.9452 MB / 443.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.518e-05/0.3263, allocations: 37.7 kB / 443.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.3264, allocations: 134 kB / 444 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.3266, allocations: 67.55 kB / 444.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004294/0.327, allocations: 161.3 kB / 444.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.3272, allocations: 330.8 kB / 444.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006177/0.3278, allocations: 365.8 kB / 444.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006527/0.3285, allocations: 413.4 kB / 445.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.3296, allocations: 0.7068 MB / 446 MB, free: 7.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.3296, allocations: 0 / 446 MB, free: 7.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001912/0.3315, allocations: 1.008 MB / 447 MB, free: 6.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002496/0.3318, allocations: 245.6 kB / 447.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.3318, allocations: 4 kB / 447.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.3318, allocations: 0 / 447.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.797e-05/0.3319, allocations: 8 kB / 447.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3319, allocations: 0 / 447.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.3322, allocations: 31.88 kB / 447.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.3324, allocations: 116.1 kB / 447.4 MB, free: 5.629 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.00104/0.3335, allocations: 0.6131 MB / 448 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.3337, allocations: 83.47 kB / 448.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003652/0.334, allocations: 130.9 kB / 448.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.334, allocations: 4 kB / 448.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.334, allocations: 0 / 448.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3341, allocations: 0 / 448.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.3373, allocations: 1.563 MB / 449.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3373, allocations: 0 / 449.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-05/0.3373, allocations: 7.984 kB / 449.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3373, allocations: 0 / 449.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.198e-05/0.3374, allocations: 35.98 kB / 449.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.3374, allocations: 4 kB / 449.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3374, allocations: 0 / 449.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/0.3397, allocations: 1.213 MB / 451.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.3409, allocations: 408.9 kB / 451.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.3411, allocations: 24 kB / 451.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.3414, allocations: 19.98 kB / 451.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/0.3417, allocations: 59.92 kB / 451.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/0.3418, allocations: 107.9 kB / 451.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001594/0.3434, allocations: 0.6899 MB / 452.4 MB, free: 376 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3434, allocations: 4 kB / 452.4 MB, free: 372 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007146/0.3442, allocations: 99.88 kB / 452.5 MB, free: 272 kB / 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.0002978/0.3445, allocations: 139.2 kB / 452.6 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.3465, allocations: 1.244 MB / 453.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3465, allocations: 0 / 453.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.3476, allocations: 0.8476 MB / 454.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.3492, allocations: 273.3 kB / 455 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003645/0.3528, allocations: 1.532 MB / 456.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000817/0.3536, allocations: 341 kB / 456.8 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003474/0.354, allocations: 97.27 kB / 456.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.3541, allocations: 47.36 kB / 457 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3541, allocations: 0 / 457 MB, free: 11.32 MB / 366.1 MB Notification: Performance of Templates: time 0.02273/0.3769, allocations: 10.47 MB / 467.4 MB, free: 0.9453 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.852816008031368]