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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001383, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 101.4 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 47.92 kB / 350 MB, free: 92 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3596, allocations: 49.43 MB / 399.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003039/0.3627, allocations: 1.86 MB / 401.3 MB, free: 31.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.3649, allocations: 0.9847 MB / 402.3 MB, free: 30.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.805e-05/0.365, allocations: 4 kB / 402.3 MB, free: 30.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.3652, allocations: 15.84 kB / 402.3 MB, free: 30.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.565e-05/0.3653, allocations: 35.78 kB / 402.4 MB, free: 30.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.3657, allocations: 83.92 kB / 402.4 MB, free: 30.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.3659, allocations: 251.4 kB / 402.7 MB, free: 30.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.3661, allocations: 45.67 kB / 402.7 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006586/0.3668, allocations: 0.7251 MB / 403.5 MB, free: 29.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.3669, allocations: 147.4 kB / 403.6 MB, free: 29.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.404e-05/0.367, allocations: 12 kB / 403.6 MB, free: 29.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.391e-05/0.367, allocations: 8 kB / 403.6 MB, free: 29.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.3672, allocations: 135.4 kB / 403.8 MB, free: 29.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.3674, allocations: 238.2 kB / 404 MB, free: 28.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.3678, allocations: 0.7177 MB / 404.7 MB, free: 28.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3678, allocations: 4 kB / 404.7 MB, free: 28.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3678, allocations: 0 / 404.7 MB, free: 28.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.365e-06/0.3679, allocations: 0 / 404.7 MB, free: 28.13 MB / 298.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.001/0.3689, allocations: 1.176 MB / 405.9 MB, free: 26.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3689, allocations: 8.031 kB / 405.9 MB, free: 26.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.369, allocations: 76.09 kB / 406 MB, free: 26.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.3694, allocations: 396.2 kB / 406.4 MB, free: 26.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.3695, allocations: 16.55 kB / 406.4 MB, free: 26.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.3695, allocations: 24.38 kB / 406.4 MB, free: 26.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.37, allocations: 247.1 kB / 406.6 MB, free: 26.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.37, allocations: 3.938 kB / 406.6 MB, free: 26.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.37, allocations: 12 kB / 406.7 MB, free: 26.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.37, allocations: 4 kB / 406.7 MB, free: 26.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.3704, allocations: 135.4 kB / 406.8 MB, free: 25.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.3715, allocations: 0.7349 MB / 407.5 MB, free: 25.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.3718, allocations: 198.4 kB / 407.7 MB, free: 24.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.3721, allocations: 176.8 kB / 407.9 MB, free: 24.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.3721, allocations: 0 / 407.9 MB, free: 24.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005449/0.3726, allocations: 402.3 kB / 408.3 MB, free: 24.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.983e-06/0.3727, allocations: 0 / 408.3 MB, free: 24.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001259/0.3739, allocations: 0.9212 MB / 409.2 MB, free: 23.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.374, allocations: 289 kB / 409.5 MB, free: 23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.3752, allocations: 0.9452 MB / 410.4 MB, free: 22.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.3752, allocations: 33.7 kB / 410.5 MB, free: 22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.3753, allocations: 134 kB / 410.6 MB, free: 21.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.3754, allocations: 71.19 kB / 410.7 MB, free: 21.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.3756, allocations: 165.1 kB / 410.8 MB, free: 21.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.3757, allocations: 330.8 kB / 411.2 MB, free: 21.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.3759, allocations: 124.2 kB / 411.3 MB, free: 21.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.3762, allocations: 167.8 kB / 411.4 MB, free: 21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/0.3767, allocations: 0.7066 MB / 412.1 MB, free: 20.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3767, allocations: 3.938 kB / 412.1 MB, free: 20.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009107/0.3776, allocations: 0.7488 MB / 412.9 MB, free: 19.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.3778, allocations: 241.6 kB / 413.1 MB, free: 19.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.3778, allocations: 0 / 413.1 MB, free: 19.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.3778, allocations: 7.938 kB / 413.1 MB, free: 19.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.469e-05/0.3779, allocations: 12.02 kB / 413.2 MB, free: 19.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.3779, allocations: 8 kB / 413.2 MB, free: 19.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.3782, allocations: 27.98 kB / 413.2 MB, free: 19.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.3784, allocations: 112.1 kB / 413.3 MB, free: 18.92 MB / 298.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.0005807/0.379, allocations: 0.6123 MB / 413.9 MB, free: 18.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.57e-05/0.3791, allocations: 79.06 kB / 414 MB, free: 18.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.3793, allocations: 126.9 kB / 414.1 MB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3793, allocations: 0 / 414.1 MB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.3793, allocations: 8 kB / 414.1 MB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3793, allocations: 3.984 kB / 414.1 MB, free: 18.03 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.3809, allocations: 1.425 MB / 415.5 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3809, allocations: 0 / 415.5 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-05/0.3809, allocations: 4 kB / 415.5 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3809, allocations: 0 / 415.5 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/0.381, allocations: 31.97 kB / 415.6 MB, free: 16.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.381, allocations: 4 kB / 415.6 MB, free: 16.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.381, allocations: 0 / 415.6 MB, free: 16.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.3825, allocations: 1.778 MB / 417.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005574/0.3831, allocations: 407.8 kB / 417.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.721e-05/0.3832, allocations: 31.92 kB / 417.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.3834, allocations: 19.98 kB / 417.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.3836, allocations: 55.94 kB / 417.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.3837, allocations: 111.9 kB / 418 MB, free: 13.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008631/0.3846, allocations: 0.6899 MB / 418.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3846, allocations: 0 / 418.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00056/0.3852, allocations: 99.84 kB / 418.8 MB, free: 13.16 MB / 298.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.000214/0.3854, allocations: 143.2 kB / 418.9 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008718/0.3863, allocations: 0.8908 MB / 419.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3863, allocations: 4.188 kB / 419.8 MB, free: 12.01 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.3868, allocations: 0.753 MB / 420.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.3879, allocations: 243.8 kB / 420.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.3906, allocations: 1.692 MB / 422.5 MB, free: 9.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000602/0.3912, allocations: 0.948 MB / 423.4 MB, free: 8.219 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003144/0.3915, allocations: 89.34 kB / 423.5 MB, free: 8.133 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.67e-05/0.3916, allocations: 51.34 kB / 423.6 MB, free: 8.082 MB / 298.7 MB Notification: Performance of SimCode: time 1.512e-06/0.3916, allocations: 0 / 423.6 MB, free: 8.082 MB / 298.7 MB Notification: Performance of Templates: time 0.015/0.4067, allocations: 9.177 MB / 432.7 MB, free: 14.96 MB / 314.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches