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.001791/0.001791, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 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.001988/0.001988, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 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.402/1.402, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001754/0.001754, allocations: 47.92 kB / 371.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2854, allocations: 52.19 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003081/0.2885, allocations: 1.84 MB / 425.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.2907, allocations: 0.951 MB / 426.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.456e-05/0.2908, allocations: 4 kB / 426.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.2909, allocations: 23.72 kB / 426.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.924e-05/0.291, allocations: 39.72 kB / 426.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.2914, allocations: 107.8 kB / 426.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.2918, allocations: 287.4 kB / 427.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.2919, allocations: 53.64 kB / 427.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008751/0.2928, allocations: 0.7447 MB / 427.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.2931, allocations: 151.4 kB / 428.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.451e-05/0.2931, allocations: 20 kB / 428.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.689e-05/0.2932, allocations: 20 kB / 428.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.2934, allocations: 143.4 kB / 428.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.2936, allocations: 242.2 kB / 428.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008025/0.2944, allocations: 0.7597 MB / 429.2 MB, free: 9.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2944, allocations: 0 / 429.2 MB, free: 9.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2944, allocations: 0 / 429.2 MB, free: 9.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.2944, allocations: 0 / 429.2 MB, free: 9.312 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.001351/0.2958, allocations: 1.109 MB / 430.3 MB, free: 8.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2958, allocations: 8.031 kB / 430.4 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.2959, allocations: 84.47 kB / 430.4 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.2964, allocations: 335.1 kB / 430.8 MB, free: 7.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.2965, allocations: 12.56 kB / 430.8 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.2965, allocations: 20.38 kB / 430.8 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.297, allocations: 249 kB / 431 MB, free: 7.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.297, allocations: 0 / 431 MB, free: 7.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.2971, allocations: 8 kB / 431 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.2971, allocations: 4 kB / 431 MB, free: 7.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.2974, allocations: 140.1 kB / 431.2 MB, free: 7.246 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.2987, allocations: 0.7067 MB / 431.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.299, allocations: 154.4 kB / 432 MB, free: 6.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.2993, allocations: 128.8 kB / 432.2 MB, free: 6.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2993, allocations: 3.938 kB / 432.2 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006148/0.2999, allocations: 389.8 kB / 432.6 MB, free: 5.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.452e-06/0.3, allocations: 4 kB / 432.6 MB, free: 5.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.00156/0.3015, allocations: 0.9165 MB / 433.5 MB, free: 4.809 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000207/0.3017, allocations: 285 kB / 433.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.303, allocations: 0.9491 MB / 434.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.3031, allocations: 37.7 kB / 434.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3032, allocations: 130 kB / 434.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.304e-05/0.3033, allocations: 59.58 kB / 434.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.3035, allocations: 165.3 kB / 435.1 MB, free: 3.113 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3037, allocations: 342.8 kB / 435.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.3039, allocations: 124.2 kB / 435.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.3042, allocations: 163.9 kB / 435.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007232/0.3049, allocations: 0.6951 MB / 436.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.3049, allocations: 11.94 kB / 436.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001097/0.306, allocations: 0.7489 MB / 437.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.3062, allocations: 241.6 kB / 437.4 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3062, allocations: 4 kB / 437.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3062, allocations: 0 / 437.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.005e-05/0.3063, allocations: 11.98 kB / 437.4 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3063, allocations: 7.938 kB / 437.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.3065, allocations: 23.98 kB / 437.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.3067, allocations: 112.2 kB / 437.5 MB, free: 420 kB / 334.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.0007458/0.3074, allocations: 0.6084 MB / 438.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.3075, allocations: 79.53 kB / 438.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.3078, allocations: 126.9 kB / 438.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.3078, allocations: 4 kB / 438.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3078, allocations: 0 / 438.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3078, allocations: 3.984 kB / 438.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.3098, allocations: 1.408 MB / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3098, allocations: 8 kB / 439.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-05/0.3098, allocations: 4 kB / 439.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3098, allocations: 0 / 439.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.544e-05/0.3099, allocations: 31.97 kB / 439.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.3099, allocations: 0 / 439.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3099, allocations: 0 / 439.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.3112, allocations: 0.9691 MB / 440.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008072/0.312, allocations: 408.9 kB / 441.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.3121, allocations: 24 kB / 441.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.3123, allocations: 23.98 kB / 441.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/0.3125, allocations: 55.94 kB / 441.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.3126, allocations: 111.9 kB / 441.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009895/0.3136, allocations: 0.6937 MB / 442.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3136, allocations: 0 / 442.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004281/0.314, allocations: 103.8 kB / 442.2 MB, free: 11.54 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.0001964/0.3142, allocations: 135.2 kB / 442.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.3153, allocations: 0.7685 MB / 443.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3153, allocations: 0 / 443.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006111/0.3159, allocations: 0.6046 MB / 443.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.317, allocations: 264.6 kB / 444 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.3192, allocations: 1.356 MB / 445.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007946/0.32, allocations: 0.9362 MB / 446.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.3202, allocations: 67.27 kB / 446.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of SimCode: time 1.113e-06/0.3202, allocations: 0 / 446.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of Templates: time 0.009362/0.3296, allocations: 5.327 MB / 451.6 MB, free: 1.828 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins1/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: 7.969318107003346]