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.00137/0.00137, allocations: 80.62 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001041/0.001041, allocations: 145.9 kB / 25.59 MB, free: 8.125 MB / 18.57 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 0.87/0.87, allocations: 173.4 MB / 202.2 MB, free: 8.293 MB / 186.7 MB " [Timeout remaining time 179] 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 1.853e-06/1.853e-06, allocations: 0 / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.053e-05, allocations: 2.312 kB / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002673/0.002693, allocations: 1.766 MB / 271 MB, free: 8.012 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.0045, allocations: 0.9167 MB / 271.9 MB, free: 7.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.00457, allocations: 4 kB / 271.9 MB, free: 7.086 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.004695, allocations: 25.03 kB / 271.9 MB, free: 7.062 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.766e-05/0.004793, allocations: 39.72 kB / 271.9 MB, free: 7.023 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.005364, allocations: 104.8 kB / 272.1 MB, free: 6.922 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.005683, allocations: 295.2 kB / 272.3 MB, free: 6.633 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.005798, allocations: 42.48 kB / 272.4 MB, free: 6.59 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007334/0.006531, allocations: 0.7877 MB / 273.2 MB, free: 5.801 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.006705, allocations: 132.2 kB / 273.3 MB, free: 5.672 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.006755, allocations: 20.72 kB / 273.3 MB, free: 5.652 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.128e-05/0.006796, allocations: 20 kB / 273.3 MB, free: 5.633 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.006914, allocations: 146.4 kB / 273.5 MB, free: 5.492 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.00704, allocations: 119.5 kB / 273.6 MB, free: 5.375 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.007505, allocations: 0.5643 MB / 274.2 MB, free: 4.809 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.007507, allocations: 0 / 274.2 MB, free: 4.809 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.007508, allocations: 0 / 274.2 MB, free: 4.809 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.007513, allocations: 0 / 274.2 MB, free: 4.809 MB / 250.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.001127/0.00864, allocations: 1.283 MB / 275.4 MB, free: 3.438 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.00868, allocations: 8.031 kB / 275.5 MB, free: 3.43 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.008812, allocations: 101.4 kB / 275.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.00914, allocations: 337.1 kB / 275.9 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.009167, allocations: 16.56 kB / 275.9 MB, free: 2.957 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.009206, allocations: 24.38 kB / 275.9 MB, free: 2.934 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004625/0.009669, allocations: 445.3 kB / 276.4 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.009679, allocations: 0 / 276.4 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.009709, allocations: 11.98 kB / 276.4 MB, free: 2.426 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.009717, allocations: 4 kB / 276.4 MB, free: 2.422 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.009948, allocations: 321.8 kB / 276.7 MB, free: 2.059 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008811/0.01083, allocations: 0.6251 MB / 277.3 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.01113, allocations: 360.5 kB / 277.7 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.01134, allocations: 325.2 kB / 278 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.01135, allocations: 4 kB / 278 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004329/0.01178, allocations: 0.5758 MB / 278.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.254e-06/0.01179, allocations: 0 / 278.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001483/0.01327, allocations: 1.31 MB / 279.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.01338, allocations: 281 kB / 280.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.01444, allocations: 0.893 MB / 281 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.01449, allocations: 37.7 kB / 281.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.01457, allocations: 172.8 kB / 281.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.916e-05/0.01464, allocations: 67.52 kB / 281.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.01481, allocations: 170.9 kB / 281.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.01496, allocations: 0.5118 MB / 282 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.01517, allocations: 309.8 kB / 282.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.0154, allocations: 360.8 kB / 282.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.01582, allocations: 0.6475 MB / 283.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01582, allocations: 0 / 283.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008053/0.01663, allocations: 0.9261 MB / 284.2 MB, free: 9.695 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.01674, allocations: 249.6 kB / 284.5 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01675, allocations: 0 / 284.5 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.01676, allocations: 3.938 kB / 284.5 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.416e-05/0.01678, allocations: 8 kB / 284.5 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.01678, allocations: 96 / 284.5 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.01695, allocations: 35.92 kB / 284.5 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.652e-05/0.01705, allocations: 104.1 kB / 284.6 MB, free: 9.254 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.0005067/0.01755, allocations: 0.6189 MB / 285.2 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.01767, allocations: 107.4 kB / 285.3 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.01784, allocations: 106.9 kB / 285.4 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01785, allocations: 7.938 kB / 285.4 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01785, allocations: 0 / 285.4 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01785, allocations: 0 / 285.4 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.01951, allocations: 1.481 MB / 286.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01951, allocations: 0 / 286.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.61e-05/0.01953, allocations: 11.92 kB / 286.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.01953, allocations: 4 kB / 286.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.01957, allocations: 31.92 kB / 287 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01957, allocations: 0 / 287 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01958, allocations: 0 / 287 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009866/0.02056, allocations: 1.198 MB / 288.2 MB, free: 5.379 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00058/0.02114, allocations: 372.8 kB / 288.5 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.598e-05/0.02123, allocations: 27.94 kB / 288.6 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.02139, allocations: 23.98 kB / 288.6 MB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.0215, allocations: 47.95 kB / 288.6 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.02161, allocations: 115.8 kB / 288.7 MB, free: 4.797 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005167/0.02212, allocations: 490.5 kB / 289.2 MB, free: 4.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.02212, allocations: 0 / 289.2 MB, free: 4.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003476/0.02247, allocations: 88 kB / 289.3 MB, free: 4.234 MB / 266.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.0001569/0.02263, allocations: 155.2 kB / 289.5 MB, free: 4.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007305/0.02336, allocations: 1.15 MB / 290.6 MB, free: 2.719 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.02336, allocations: 0 / 290.6 MB, free: 2.719 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004558/0.02381, allocations: 0.824 MB / 291.4 MB, free: 1.746 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008251/0.02464, allocations: 289.4 kB / 291.7 MB, free: 1.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.02636, allocations: 1.437 MB / 293.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.0265, allocations: 156.1 kB / 293.3 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001767/0.02668, allocations: 81.3 kB / 293.4 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/0.02726, allocations: 317.9 kB / 293.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.02727, allocations: 0 / 293.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of Templates: time 0.01252/0.03979, allocations: 9.771 MB / 303.5 MB, free: 5.758 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.906744988169521]