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.0009938/0.0009938, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001893/0.001893, allocations: 163.5 kB / 24.91 MB, free: 8.258 MB / 18.57 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.012/1.012, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] 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 1.873e-06/1.873e-06, allocations: 0 / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/2.973e-05, allocations: 2.312 kB / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003408/0.003438, allocations: 1.834 MB / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.005927, allocations: 0.9547 MB / 276.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.006048, allocations: 3.938 kB / 276.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.006245, allocations: 23.78 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.006373, allocations: 51.58 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.006818, allocations: 103.7 kB / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.00722, allocations: 291.3 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.007346, allocations: 34.44 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008971/0.008243, allocations: 0.733 MB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.008481, allocations: 135.5 kB / 277.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.5e-05/0.008546, allocations: 20 kB / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.953e-05/0.008595, allocations: 20 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.008732, allocations: 139.4 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.008882, allocations: 123.4 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006092/0.009492, allocations: 0.5566 MB / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.009494, allocations: 4 kB / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.009496, allocations: 0 / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.009509, allocations: 0 / 278.4 MB, free: 12.15 MB / 266.7 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.001227/0.01074, allocations: 1.068 MB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.01078, allocations: 11.98 kB / 279.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.0109, allocations: 64.88 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.01127, allocations: 330.3 kB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.0113, allocations: 12.56 kB / 279.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.01135, allocations: 16.38 kB / 279.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007936/0.01214, allocations: 441.8 kB / 280.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.01215, allocations: 3.984 kB / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.01219, allocations: 15.98 kB / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.0122, allocations: 4 kB / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.01243, allocations: 305.8 kB / 280.7 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008122/0.01324, allocations: 399.7 kB / 281.1 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.01354, allocations: 332.1 kB / 281.4 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.01377, allocations: 322.4 kB / 281.7 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.01378, allocations: 4 kB / 281.7 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004362/0.01422, allocations: 0.5581 MB / 282.3 MB, free: 7.883 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/0.01422, allocations: 3.938 kB / 282.3 MB, free: 7.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008504/0.01507, allocations: 1.007 MB / 283.3 MB, free: 6.719 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.01519, allocations: 289 kB / 283.6 MB, free: 6.375 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000757/0.01595, allocations: 0.6207 MB / 284.2 MB, free: 5.746 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.01599, allocations: 41.7 kB / 284.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.01605, allocations: 114 kB / 284.3 MB, free: 5.582 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.314e-05/0.01612, allocations: 67.56 kB / 284.4 MB, free: 5.516 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.0163, allocations: 137.3 kB / 284.5 MB, free: 5.375 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.0164, allocations: 338.8 kB / 284.9 MB, free: 5.035 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.01662, allocations: 293.8 kB / 285.1 MB, free: 4.699 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.01687, allocations: 345.4 kB / 285.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.01732, allocations: 0.6346 MB / 286.1 MB, free: 3.551 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01732, allocations: 0 / 286.1 MB, free: 3.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007525/0.01808, allocations: 0.6802 MB / 286.8 MB, free: 2.766 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.0182, allocations: 245.6 kB / 287 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01821, allocations: 0 / 287 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.01822, allocations: 3.938 kB / 287 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.435e-05/0.01826, allocations: 11.98 kB / 287.1 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.01826, allocations: 0 / 287.1 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.01842, allocations: 36.03 kB / 287.1 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.01853, allocations: 96.09 kB / 287.2 MB, free: 2.332 MB / 266.7 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.0005413/0.01907, allocations: 0.5643 MB / 287.7 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.548e-05/0.01915, allocations: 67.94 kB / 287.8 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.01935, allocations: 106.9 kB / 287.9 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.01936, allocations: 7.922 kB / 287.9 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.01936, allocations: 7.984 kB / 287.9 MB, free: 1.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01937, allocations: 0 / 287.9 MB, free: 1.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009986/0.02036, allocations: 1.064 MB / 289 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02037, allocations: 3.938 kB / 289 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.02039, allocations: 11.98 kB / 289 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.02039, allocations: 4 kB / 289 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/0.02043, allocations: 15.98 kB / 289 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.02044, allocations: 7.938 kB / 289 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.02044, allocations: 0 / 289 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006564/0.02109, allocations: 0.8423 MB / 289.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004989/0.02159, allocations: 273.2 kB / 290.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.523e-05/0.02169, allocations: 24 kB / 290.2 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.02185, allocations: 31.92 kB / 290.2 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.02196, allocations: 39.94 kB / 290.2 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.02206, allocations: 99.92 kB / 290.3 MB, free: 14.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00041/0.02247, allocations: 316.3 kB / 290.7 MB, free: 14.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02247, allocations: 0 / 290.7 MB, free: 14.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003362/0.0228, allocations: 92 kB / 290.7 MB, free: 14.46 MB / 282.7 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.0001567/0.02296, allocations: 116.4 kB / 290.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007315/0.02369, allocations: 1.132 MB / 292 MB, free: 13.01 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.0237, allocations: 8 kB / 292 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.02414, allocations: 0.7972 MB / 292.8 MB, free: 12.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007362/0.02487, allocations: 288.7 kB / 293.1 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.02685, allocations: 1.414 MB / 294.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.027, allocations: 156.1 kB / 294.6 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000196/0.0272, allocations: 89.28 kB / 294.7 MB, free: 10.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006031/0.0278, allocations: 285.1 kB / 295 MB, free: 9.754 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.0278, allocations: 0 / 295 MB, free: 9.754 MB / 282.7 MB Notification: Performance of Templates: time 0.01408/0.04188, allocations: 9.407 MB / 304.4 MB, free: 428 kB / 282.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.838626781012863]