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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009055/0.0009055, allocations: 93.31 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000968/0.000968, allocations: 175.5 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002221/0.0002221, allocations: 11.94 kB / 302.1 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07357/0.07381, allocations: 50.41 MB / 352.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.001624/0.07546, allocations: 1.508 MB / 354 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.07727, allocations: 0.9825 MB / 355 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.437e-05/0.07735, allocations: 0 / 355 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.07748, allocations: 19.84 kB / 355 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.426e-05/0.07757, allocations: 27.78 kB / 355 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.07786, allocations: 95.78 kB / 355.1 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.07813, allocations: 243.4 kB / 355.4 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.07827, allocations: 49.67 kB / 355.4 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006883/0.07896, allocations: 0.7134 MB / 356.1 MB, free: 48 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.07915, allocations: 139.5 kB / 356.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.07922, allocations: 8 kB / 356.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.376e-05/0.07927, allocations: 8 kB / 356.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.0794, allocations: 135.4 kB / 356.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.07961, allocations: 252 kB / 356.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004426/0.08006, allocations: 0.5964 MB / 357.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.08007, allocations: 0 / 357.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.08008, allocations: 0 / 357.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.08009, allocations: 3.938 kB / 357.2 MB, free: 14.91 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.0009356/0.08103, allocations: 1.037 MB / 358.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.08108, allocations: 12.03 kB / 358.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.0812, allocations: 72.09 kB / 358.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.08157, allocations: 400.1 kB / 358.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.08161, allocations: 8.562 kB / 358.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.409e-05/0.08167, allocations: 24.38 kB / 358.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.08218, allocations: 259 kB / 359 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.0822, allocations: 0 / 359 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.08224, allocations: 7.984 kB / 359 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.08226, allocations: 4 kB / 359.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.08256, allocations: 136.2 kB / 359.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.0836, allocations: 0.7272 MB / 359.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.08397, allocations: 198.4 kB / 360.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.08428, allocations: 180.7 kB / 360.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.0843, allocations: 7.938 kB / 360.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005047/0.08481, allocations: 397.1 kB / 360.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.593e-06/0.08482, allocations: 0 / 360.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001405/0.08623, allocations: 0.9162 MB / 361.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.08636, allocations: 285 kB / 361.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.08755, allocations: 0.9491 MB / 362.8 MB, free: 8.961 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.0876, allocations: 37.7 kB / 362.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/0.08769, allocations: 130 kB / 363 MB, free: 8.785 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/0.08778, allocations: 71.19 kB / 363.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.08786, allocations: 41.7 kB / 363.1 MB, free: 8.668 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.08796, allocations: 330.8 kB / 363.4 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.08823, allocations: 136.2 kB / 363.6 MB, free: 8.203 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.08851, allocations: 159.9 kB / 363.7 MB, free: 8.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006571/0.08918, allocations: 0.7067 MB / 364.4 MB, free: 7.215 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.08919, allocations: 7.875 kB / 364.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001009/0.09021, allocations: 0.7566 MB / 365.2 MB, free: 6.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.09034, allocations: 241.6 kB / 365.4 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.09035, allocations: 4 kB / 365.4 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.09037, allocations: 0 / 365.4 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.989e-05/0.09041, allocations: 7.938 kB / 365.4 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.09042, allocations: 8.078 kB / 365.4 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.09069, allocations: 39.83 kB / 365.5 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.09082, allocations: 108.2 kB / 365.6 MB, free: 5.945 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.0005745/0.0914, allocations: 0.6162 MB / 366.2 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.035e-05/0.0915, allocations: 75.16 kB / 366.3 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.09169, allocations: 126.9 kB / 366.4 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.0917, allocations: 0 / 366.4 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.09171, allocations: 8 kB / 366.4 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.09172, allocations: 3.938 kB / 366.4 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.09342, allocations: 1.421 MB / 367.8 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.09344, allocations: 0 / 367.8 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.09346, allocations: 7.938 kB / 367.8 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.09347, allocations: 0 / 367.8 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/0.09352, allocations: 35.95 kB / 367.9 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.09353, allocations: 4 kB / 367.9 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.09354, allocations: 0 / 367.9 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.0947, allocations: 0.961 MB / 368.8 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005329/0.09524, allocations: 415.7 kB / 369.2 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.712e-05/0.09535, allocations: 16 kB / 369.3 MB, free: 2.012 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.0956, allocations: 31.89 kB / 369.3 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.09575, allocations: 51.94 kB / 369.3 MB, free: 1.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.09587, allocations: 111.9 kB / 369.4 MB, free: 1.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008825/0.09676, allocations: 0.6977 MB / 370.1 MB, free: 1.125 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09677, allocations: 0 / 370.1 MB, free: 1.125 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003835/0.09716, allocations: 95.94 kB / 370.2 MB, free: 1.031 MB / 302.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.0001555/0.09732, allocations: 151.1 kB / 370.4 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1307/0.228, allocations: 0.8764 MB / 371.3 MB, free: 25.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.228, allocations: 0 / 371.3 MB, free: 25.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000709/0.2287, allocations: 0.7487 MB / 372 MB, free: 24.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.23, allocations: 248.5 kB / 372.3 MB, free: 24.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.2321, allocations: 1.569 MB / 373.8 MB, free: 24.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.2326, allocations: 0.9399 MB / 374.8 MB, free: 23.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.2327, allocations: 59.75 kB / 374.8 MB, free: 23.35 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2327, allocations: 0 / 374.8 MB, free: 23.35 MB / 302.1 MB Notification: Performance of Templates: time 0.008048/0.2408, allocations: 5.345 MB / 380.2 MB, free: 22.67 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.makefile (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) 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) Reference file matches