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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001154/0.001155, allocations: 118.7 kB / 17.78 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 203.8 kB / 18.73 MB, free: 4.23 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001253, allocations: 59.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3351, allocations: 50.53 MB / 409.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002959/0.3382, allocations: 1.828 MB / 411.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.3404, allocations: 0.9744 MB / 412 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.718e-05/0.3405, allocations: 4 kB / 412 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.3407, allocations: 27.72 kB / 412.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.713e-05/0.3408, allocations: 31.72 kB / 412.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.3412, allocations: 99.77 kB / 412.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.3416, allocations: 319.4 kB / 412.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3417, allocations: 49.66 kB / 412.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007697/0.3425, allocations: 0.7447 MB / 413.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.3427, allocations: 143.4 kB / 413.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.615e-05/0.3428, allocations: 20 kB / 413.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.796e-05/0.3429, allocations: 20 kB / 413.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.3431, allocations: 147.4 kB / 413.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002673/0.3433, allocations: 242.2 kB / 413.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008136/0.3442, allocations: 0.7369 MB / 414.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3442, allocations: 4 kB / 414.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3442, allocations: 0 / 414.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.976e-06/0.3442, allocations: 0 / 414.6 MB, free: 12.37 MB / 334.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.001296/0.3455, allocations: 1.172 MB / 415.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3456, allocations: 8.031 kB / 415.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.3457, allocations: 80 kB / 415.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.3462, allocations: 388.3 kB / 416.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.3462, allocations: 16.5 kB / 416.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.3463, allocations: 20.38 kB / 416.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.3468, allocations: 251.4 kB / 416.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3468, allocations: 0 / 416.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.837e-05/0.3469, allocations: 15.98 kB / 416.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3469, allocations: 4 kB / 416.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.3472, allocations: 132.2 kB / 416.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.3484, allocations: 0.7348 MB / 417.4 MB, free: 9.363 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.3488, allocations: 210.4 kB / 417.6 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.3491, allocations: 176.8 kB / 417.8 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3492, allocations: 0 / 417.8 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006129/0.3498, allocations: 389.5 kB / 418.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.894e-06/0.3498, allocations: 8 kB / 418.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001554/0.3514, allocations: 0.92 MB / 419.1 MB, free: 7.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/0.3515, allocations: 281 kB / 419.4 MB, free: 7.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.3528, allocations: 0.9491 MB / 420.3 MB, free: 6.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/0.3529, allocations: 37.7 kB / 420.4 MB, free: 6.234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.353, allocations: 130 kB / 420.5 MB, free: 6.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.348e-05/0.3531, allocations: 63.19 kB / 420.5 MB, free: 6.043 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.3533, allocations: 161.1 kB / 420.7 MB, free: 5.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3534, allocations: 338.8 kB / 421 MB, free: 5.539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.3537, allocations: 128.2 kB / 421.2 MB, free: 5.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.354, allocations: 169.3 kB / 421.3 MB, free: 5.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/0.3548, allocations: 0.6911 MB / 422 MB, free: 4.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3548, allocations: 7.938 kB / 422 MB, free: 4.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001078/0.3559, allocations: 0.7603 MB / 422.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001748/0.356, allocations: 248.4 kB / 423 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3561, allocations: 0 / 423 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.3561, allocations: 4 kB / 423 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.006e-05/0.3561, allocations: 4 kB / 423 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3561, allocations: 7.984 kB / 423 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.3564, allocations: 27.89 kB / 423.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.3565, allocations: 108.2 kB / 423.2 MB, free: 3.172 MB / 334.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.0006314/0.3572, allocations: 0.6161 MB / 423.8 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.3573, allocations: 75.16 kB / 423.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.3575, allocations: 134.9 kB / 424 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3575, allocations: 0 / 424 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3575, allocations: 0 / 424 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3575, allocations: 3.938 kB / 424 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.3595, allocations: 1.441 MB / 425.4 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.3595, allocations: 4 kB / 425.4 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.758e-05/0.3595, allocations: 4 kB / 425.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3595, allocations: 0 / 425.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.098e-05/0.3596, allocations: 27.98 kB / 425.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3596, allocations: 0 / 425.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3596, allocations: 0 / 425.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.3609, allocations: 0.9649 MB / 426.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006532/0.3615, allocations: 415.7 kB / 426.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.3617, allocations: 28 kB / 426.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.3619, allocations: 19.98 kB / 426.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.3621, allocations: 63.81 kB / 427 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/0.3623, allocations: 111.9 kB / 427.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009543/0.3632, allocations: 0.6899 MB / 427.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3632, allocations: 0 / 427.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004422/0.3637, allocations: 99.88 kB / 427.8 MB, free: 14.24 MB / 350.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.0002328/0.3639, allocations: 143.2 kB / 428 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.365, allocations: 0.8818 MB / 428.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.365, allocations: 0 / 428.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007422/0.3658, allocations: 0.7569 MB / 429.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.3669, allocations: 275.8 kB / 429.9 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.369, allocations: 1.282 MB / 431.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/0.3697, allocations: 0.9364 MB / 432.1 MB, free: 9.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002598/0.37, allocations: 89.34 kB / 432.2 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.286e-05/0.3701, allocations: 51.36 kB / 432.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3701, allocations: 0 / 432.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of Templates: time 0.0171/0.3872, allocations: 9.496 MB / 441.7 MB, free: 128 kB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.makefile (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) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches