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.001444/0.001444, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.001633/0.001633, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.516/1.516, allocations: 177 MB / 204.1 MB, free: 9.195 MB / 190.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 1.934e-06/1.934e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.023e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003608/0.003638, allocations: 1.712 MB / 326.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.00674, allocations: 0.9374 MB / 327.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.006913, allocations: 1.25 kB / 327.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.007142, allocations: 27.42 kB / 327.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.007339, allocations: 36.66 kB / 327.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.007986, allocations: 116.5 kB / 327.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007138/0.0087, allocations: 298.7 kB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.0089, allocations: 27.59 kB / 328.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.01039, allocations: 0.7934 MB / 329 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003879/0.01078, allocations: 134.9 kB / 329.1 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.01092, allocations: 19.94 kB / 329.1 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.01102, allocations: 21.28 kB / 329.1 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.01127, allocations: 141.3 kB / 329.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002966/0.01157, allocations: 122.1 kB / 329.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.01285, allocations: 0.7468 MB / 330.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.01286, allocations: 4 kB / 330.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01286, allocations: 1.094 kB / 330.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.056e-05/0.0129, allocations: 0 / 330.1 MB, free: 13.68 MB / 302.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.002536/0.01543, allocations: 1.115 MB / 331.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.01549, allocations: 17.86 kB / 331.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.01566, allocations: 82.33 kB / 331.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/0.0162, allocations: 339 kB / 331.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.01624, allocations: 23.03 kB / 331.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/0.0163, allocations: 15.59 kB / 331.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008344/0.01713, allocations: 490.3 kB / 332.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.01715, allocations: 0 / 332.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.01719, allocations: 14.81 kB / 332.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.0172, allocations: 2.375 kB / 332.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005491/0.01775, allocations: 377.1 kB / 332.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.01918, allocations: 0.626 MB / 333.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000574/0.01975, allocations: 396.4 kB / 333.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004671/0.02022, allocations: 369.8 kB / 334 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.02024, allocations: 1.062 kB / 334 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009319/0.02117, allocations: 0.618 MB / 334.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.723e-06/0.02117, allocations: 4 kB / 334.6 MB, free: 9.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002146/0.02332, allocations: 1.427 MB / 336 MB, free: 8.727 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000216/0.02354, allocations: 285.4 kB / 336.3 MB, free: 8.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.0251, allocations: 0.9533 MB / 337.2 MB, free: 7.797 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.0252, allocations: 38.42 kB / 337.3 MB, free: 7.762 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.02533, allocations: 130.6 kB / 337.4 MB, free: 7.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.731e-05/0.02542, allocations: 71.17 kB / 337.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.0257, allocations: 158.6 kB / 337.6 MB, free: 7.492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002339/0.02594, allocations: 333.2 kB / 338 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004802/0.02642, allocations: 368.9 kB / 338.3 MB, free: 6.836 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005676/0.02698, allocations: 403.5 kB / 338.7 MB, free: 6.469 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008885/0.02787, allocations: 0.719 MB / 339.4 MB, free: 5.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.02787, allocations: 0 / 339.4 MB, free: 5.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001495/0.02937, allocations: 1.009 MB / 340.4 MB, free: 4.656 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001971/0.02957, allocations: 249.5 kB / 340.7 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.02957, allocations: 4 kB / 340.7 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.02959, allocations: 0 / 340.7 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.687e-05/0.02964, allocations: 12.03 kB / 340.7 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.02964, allocations: 4 kB / 340.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.02991, allocations: 31.94 kB / 340.7 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.03007, allocations: 108.1 kB / 340.8 MB, free: 4.207 MB / 302.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.0008355/0.03091, allocations: 0.6124 MB / 341.4 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.03103, allocations: 79.53 kB / 341.5 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.03126, allocations: 134.8 kB / 341.7 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.03126, allocations: 0 / 341.7 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.03127, allocations: 0 / 341.7 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.03128, allocations: 4 kB / 341.7 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/0.03359, allocations: 1.579 MB / 343.2 MB, free: 1.605 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.0336, allocations: 0 / 343.2 MB, free: 1.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-05/0.03362, allocations: 11.94 kB / 343.3 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.03362, allocations: 0 / 343.3 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.319e-05/0.03368, allocations: 35.97 kB / 343.3 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.03369, allocations: 0 / 343.3 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.03369, allocations: 3.938 kB / 343.3 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.03533, allocations: 1.221 MB / 344.5 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008147/0.03614, allocations: 416.8 kB / 344.9 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.03626, allocations: 23.98 kB / 344.9 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.0365, allocations: 31.97 kB / 345 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.03669, allocations: 59.94 kB / 345 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/0.03683, allocations: 107.9 kB / 345.1 MB, free: 15.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001033/0.03787, allocations: 0.686 MB / 345.8 MB, free: 14.9 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03787, allocations: 0 / 345.8 MB, free: 14.9 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004246/0.03829, allocations: 92 kB / 345.9 MB, free: 14.81 MB / 318.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.0002562/0.03855, allocations: 143.1 kB / 346.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.04002, allocations: 1.248 MB / 347.3 MB, free: 13.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.04003, allocations: 0 / 347.3 MB, free: 13.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008978/0.04092, allocations: 0.8445 MB / 348.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.04217, allocations: 285 kB / 348.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.0448, allocations: 1.527 MB / 350 MB, free: 10.37 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.0453, allocations: 348.9 kB / 350.3 MB, free: 10 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002721/0.04557, allocations: 93.28 kB / 350.4 MB, free: 9.906 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.04568, allocations: 48.42 kB / 350.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of SimCode: time 9.02e-07/0.04568, allocations: 0 / 350.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of Templates: time 0.01819/0.06387, allocations: 10.25 MB / 360.7 MB, free: 15.68 MB / 334.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.727096572518349]