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.001672/0.001672, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002264/0.002264, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.644/1.644, allocations: 230.5 MB / 258.1 MB, free: 7.781 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.002056/0.002056, allocations: 63.88 kB / 379 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2799, allocations: 53.41 MB / 432.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003792/0.2837, allocations: 1.731 MB / 434.1 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00258/0.2863, allocations: 0.9277 MB / 435 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.2865, allocations: 4 kB / 435.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.2866, allocations: 23.72 kB / 435.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.2868, allocations: 43.7 kB / 435.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.2873, allocations: 103.8 kB / 435.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005213/0.2878, allocations: 291.3 kB / 435.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.288, allocations: 40.73 kB / 435.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.2891, allocations: 0.7447 MB / 436.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.2894, allocations: 143.4 kB / 436.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.2895, allocations: 20 kB / 436.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.391e-05/0.2896, allocations: 24 kB / 436.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.2898, allocations: 147.4 kB / 436.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.29, allocations: 166.6 kB / 436.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.291, allocations: 0.7621 MB / 437.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.291, allocations: 0 / 437.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.291, allocations: 0 / 437.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.076e-05/0.291, allocations: 3.938 kB / 437.5 MB, free: 1.332 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.001995/0.293, allocations: 1.113 MB / 438.7 MB, free: 140 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.2931, allocations: 15.98 kB / 438.7 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.2933, allocations: 76.47 kB / 438.7 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006412/0.2939, allocations: 339.1 kB / 439.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.2939, allocations: 16.56 kB / 439.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/0.294, allocations: 20.38 kB / 439.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008786/0.2949, allocations: 484.4 kB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2949, allocations: 0 / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.2949, allocations: 8 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.2949, allocations: 7.938 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004989/0.2954, allocations: 373.2 kB / 440 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.2969, allocations: 0.637 MB / 440.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005775/0.2975, allocations: 388.1 kB / 441 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.2979, allocations: 362.4 kB / 441.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.298, allocations: 15.88 kB / 441.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009353/0.2989, allocations: 0.6277 MB / 442 MB, free: 12.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.725e-06/0.2989, allocations: 0 / 442 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002088/0.301, allocations: 1.396 MB / 443.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002127/0.3012, allocations: 281 kB / 443.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.3031, allocations: 0.953 MB / 444.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/0.3032, allocations: 33.7 kB / 444.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.3033, allocations: 134 kB / 444.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.3035, allocations: 63.53 kB / 444.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.3037, allocations: 165.3 kB / 445 MB, free: 9.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.3039, allocations: 338.8 kB / 445.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/0.3044, allocations: 365.8 kB / 445.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.3049, allocations: 406 kB / 446.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000809/0.3057, allocations: 0.7107 MB / 446.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3057, allocations: 0 / 446.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001515/0.3072, allocations: 1.004 MB / 447.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002386/0.3075, allocations: 253.7 kB / 448 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3075, allocations: 0 / 448 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.3075, allocations: 7.938 kB / 448 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.798e-05/0.3075, allocations: 4 kB / 448 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.3075, allocations: 7.938 kB / 448.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.3078, allocations: 23.94 kB / 448.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.308, allocations: 108.1 kB / 448.2 MB, free: 5.625 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.0008244/0.3088, allocations: 0.6091 MB / 448.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.3089, allocations: 87.47 kB / 448.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.3092, allocations: 134.9 kB / 449 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.3093, allocations: 4 kB / 449 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3093, allocations: 0 / 449 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3093, allocations: 0 / 449 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/0.3118, allocations: 1.563 MB / 450.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3118, allocations: 0 / 450.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/0.3119, allocations: 7.984 kB / 450.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3119, allocations: 0 / 450.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.302e-05/0.3119, allocations: 31.97 kB / 450.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3119, allocations: 0 / 450.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.3119, allocations: 8 kB / 450.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.3135, allocations: 1.213 MB / 451.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009096/0.3144, allocations: 412.8 kB / 452.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.3145, allocations: 24 kB / 452.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.3148, allocations: 23.98 kB / 452.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.3149, allocations: 51.94 kB / 452.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/0.3151, allocations: 107.9 kB / 452.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001099/0.3162, allocations: 0.6899 MB / 453.1 MB, free: 368 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3162, allocations: 0 / 453.1 MB, free: 368 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004445/0.3166, allocations: 95.94 kB / 453.2 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.0002565/0.3169, allocations: 147.2 kB / 453.4 MB, free: 112 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.3185, allocations: 1.244 MB / 454.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3185, allocations: 0 / 454.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009347/0.3194, allocations: 0.8444 MB / 455.5 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.001178/0.3206, allocations: 271.1 kB / 455.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.3235, allocations: 1.604 MB / 457.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.3241, allocations: 345 kB / 457.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.3242, allocations: 51.34 kB / 457.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3242, allocations: 0 / 457.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of Templates: time 0.01003/0.3343, allocations: 5.37 MB / 463.1 MB, free: 5.949 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins1/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: 8.19332818267867]