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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00165/0.00165, allocations: 109.6 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002108/0.002108, allocations: 211.2 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.2 MB / 256.7 MB, free: 8.652 MB / 206.1 MB [Timeout remaining time 88] 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.001823/0.001823, allocations: 59.91 kB / 376.9 MB, free: 3.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2484, allocations: 53.32 MB / 430.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003018/0.2514, allocations: 1.829 MB / 432 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.2535, allocations: 0.9821 MB / 433 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.832e-05/0.2536, allocations: 4 kB / 433 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.2538, allocations: 19.78 kB / 433 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.2539, allocations: 43.66 kB / 433.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.2543, allocations: 99.81 kB / 433.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.2547, allocations: 291.4 kB / 433.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.2549, allocations: 37.61 kB / 433.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000934/0.2558, allocations: 0.7486 MB / 434.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.2561, allocations: 151.4 kB / 434.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.311e-05/0.2562, allocations: 23.94 kB / 434.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.73e-05/0.2562, allocations: 24 kB / 434.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.2564, allocations: 139.4 kB / 434.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.2567, allocations: 238.3 kB / 434.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007928/0.2575, allocations: 0.7522 MB / 435.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2575, allocations: 0 / 435.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2575, allocations: 0 / 435.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.2575, allocations: 0 / 435.6 MB, free: 2.391 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.0014/0.2589, allocations: 1.2 MB / 436.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.2589, allocations: 8.031 kB / 436.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.2591, allocations: 80.47 kB / 436.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.2595, allocations: 396.9 kB / 437.2 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.2596, allocations: 16.56 kB / 437.2 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/0.2596, allocations: 24.36 kB / 437.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005301/0.2602, allocations: 254.2 kB / 437.5 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.2602, allocations: 0 / 437.5 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.2602, allocations: 8 kB / 437.5 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.2602, allocations: 4 kB / 437.5 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.2605, allocations: 136.2 kB / 437.7 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.2617, allocations: 0.7349 MB / 438.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.2621, allocations: 158.4 kB / 438.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.2624, allocations: 132.8 kB / 438.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.2624, allocations: 0 / 438.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006427/0.263, allocations: 389.2 kB / 439.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/0.263, allocations: 7.938 kB / 439.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001607/0.2646, allocations: 0.9361 MB / 440 MB, free: 13.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001755/0.2648, allocations: 285 kB / 440.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.2661, allocations: 0.949 MB / 441.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.271e-05/0.2662, allocations: 37.7 kB / 441.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.2663, allocations: 126.1 kB / 441.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.642e-05/0.2664, allocations: 71.48 kB / 441.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.2666, allocations: 161.3 kB / 441.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2667, allocations: 338.8 kB / 441.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.267, allocations: 124.2 kB / 442.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.2673, allocations: 161.3 kB / 442.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007476/0.268, allocations: 0.7028 MB / 442.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.268, allocations: 0 / 442.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001101/0.2691, allocations: 0.7527 MB / 443.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.2693, allocations: 249.6 kB / 443.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2693, allocations: 0 / 443.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.2694, allocations: 3.938 kB / 443.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.977e-05/0.2694, allocations: 8 kB / 443.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.2694, allocations: 0 / 443.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.2697, allocations: 31.94 kB / 444 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.2698, allocations: 108.2 kB / 444.1 MB, free: 9.238 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.0006822/0.2705, allocations: 0.6201 MB / 444.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.2706, allocations: 83.52 kB / 444.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.2708, allocations: 130.9 kB / 444.9 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2708, allocations: 7.938 kB / 444.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.2708, allocations: 0 / 444.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2708, allocations: 0 / 444.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.2727, allocations: 1.429 MB / 446.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2727, allocations: 0 / 446.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.691e-05/0.2727, allocations: 7.938 kB / 446.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2727, allocations: 4 kB / 446.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.098e-05/0.2727, allocations: 27.98 kB / 446.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2727, allocations: 0 / 446.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2727, allocations: 0 / 446.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.274, allocations: 0.9691 MB / 447.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006226/0.2746, allocations: 424.1 kB / 447.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.445e-05/0.2747, allocations: 20 kB / 447.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.2749, allocations: 23.98 kB / 447.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.2751, allocations: 59.92 kB / 447.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/0.2752, allocations: 111.9 kB / 448 MB, free: 5.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009425/0.2762, allocations: 0.6898 MB / 448.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2762, allocations: 0 / 448.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004024/0.2766, allocations: 95.94 kB / 448.8 MB, free: 4.301 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.0002063/0.2768, allocations: 147.2 kB / 448.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009781/0.2778, allocations: 0.7607 MB / 449.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2778, allocations: 3.938 kB / 449.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005979/0.2784, allocations: 0.6084 MB / 450.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.2794, allocations: 297.4 kB / 450.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.2815, allocations: 1.348 MB / 451.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/0.2822, allocations: 0.9443 MB / 452.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.2823, allocations: 55.33 kB / 452.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2823, allocations: 0 / 452.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of Templates: time 0.00819/0.2905, allocations: 5.381 MB / 458.3 MB, free: 10.51 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