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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.0009831/0.0009832, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.199/1.199, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009517/0.0009517, allocations: 98.7 kB / 297.3 MB, free: 6.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002048/0.000205, allocations: 8 kB / 357.9 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1899, allocations: 51.48 MB / 409.4 MB, free: 26.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09481/0.2848, allocations: 84.5 MB / 493.9 MB, free: 6.145 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.2851, allocations: 75.94 kB / 494 MB, free: 6.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2346/0.5198, allocations: 43.5 MB / 0.5249 GB, free: 87.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.348e-06/0.5198, allocations: 8 kB / 0.5249 GB, free: 87.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.5199, allocations: 8 kB / 0.5249 GB, free: 87.59 MB / 378.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.0007479/0.5206, allocations: 1.054 MB / 0.5259 GB, free: 86.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.5206, allocations: 8.031 kB / 0.5259 GB, free: 86.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.5208, allocations: 75.06 kB / 0.526 GB, free: 86.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.5212, allocations: 373 kB / 0.5264 GB, free: 85.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.5212, allocations: 12.19 kB / 0.5264 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.5213, allocations: 24.86 kB / 0.5264 GB, free: 85.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.5218, allocations: 303.7 kB / 0.5267 GB, free: 85.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.5218, allocations: 0 / 0.5267 GB, free: 85.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/0.5218, allocations: 11.95 kB / 0.5267 GB, free: 85.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.5218, allocations: 0 / 0.5267 GB, free: 85.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.5221, allocations: 152.6 kB / 0.5268 GB, free: 85.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.5232, allocations: 0.7705 MB / 0.5276 GB, free: 84.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.5235, allocations: 210.5 kB / 0.5278 GB, free: 84.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.5236, allocations: 0 / 0.5278 GB, free: 84.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004197/0.524, allocations: 437.2 kB / 0.5282 GB, free: 83.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.524, allocations: 4 kB / 0.5282 GB, free: 83.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001342/0.5254, allocations: 1.331 MB / 0.5295 GB, free: 82.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.5254, allocations: 281.1 kB / 0.5298 GB, free: 82.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007974/0.5262, allocations: 0.835 MB / 0.5306 GB, free: 81.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.5263, allocations: 37.7 kB / 0.5306 GB, free: 81.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.5263, allocations: 133.9 kB / 0.5308 GB, free: 81.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.557e-05/0.5264, allocations: 70.39 kB / 0.5308 GB, free: 81.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.5265, allocations: 8 kB / 0.5308 GB, free: 81.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.688e-05/0.5265, allocations: 342.8 kB / 0.5312 GB, free: 80.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.5267, allocations: 136.2 kB / 0.5313 GB, free: 80.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.527, allocations: 187.8 kB / 0.5315 GB, free: 80.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.5273, allocations: 362.3 kB / 0.5318 GB, free: 80 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5273, allocations: 4 kB / 0.5318 GB, free: 80 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009024/0.5282, allocations: 0.8268 MB / 0.5326 GB, free: 79.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.588e-05/0.5283, allocations: 241.6 kB / 0.5329 GB, free: 78.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.5283, allocations: 0 / 0.5329 GB, free: 78.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.5283, allocations: 3.938 kB / 0.5329 GB, free: 78.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.513e-05/0.5283, allocations: 8 kB / 0.5329 GB, free: 78.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5283, allocations: 0 / 0.5329 GB, free: 78.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.5286, allocations: 35.97 kB / 0.5329 GB, free: 78.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/0.5288, allocations: 256.5 kB / 0.5332 GB, free: 78.54 MB / 378.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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,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,$PRE.bUF3S1.inertialDelaySensitive.x,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.auxiliary[1],wiredX.auxiliary[2],wiredX.y,$PRE.wiredX.auxiliary[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004317/0.5292, allocations: 0.6201 MB / 0.5338 GB, free: 77.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.5293, allocations: 83.06 kB / 0.5338 GB, free: 77.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.5295, allocations: 122.9 kB / 0.534 GB, free: 77.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5295, allocations: 4 kB / 0.534 GB, free: 77.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.5295, allocations: 0 / 0.534 GB, free: 77.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5295, allocations: 0 / 0.534 GB, free: 77.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.5309, allocations: 1.494 MB / 0.5354 GB, free: 76.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5309, allocations: 4 kB / 0.5354 GB, free: 76.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.27e-05/0.5309, allocations: 11.98 kB / 0.5354 GB, free: 76.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.5309, allocations: 0 / 0.5354 GB, free: 76.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.876e-05/0.531, allocations: 47.97 kB / 0.5355 GB, free: 75.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.531, allocations: 0 / 0.5355 GB, free: 75.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.531, allocations: 0 / 0.5355 GB, free: 75.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009848/0.532, allocations: 1.039 MB / 0.5365 GB, free: 74.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/0.5325, allocations: 423.8 kB / 0.5369 GB, free: 74.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-05/0.5326, allocations: 28 kB / 0.5369 GB, free: 74.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.5329, allocations: 27.92 kB / 0.537 GB, free: 74.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.533, allocations: 75.91 kB / 0.537 GB, free: 74.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/0.5332, allocations: 267.8 kB / 0.5373 GB, free: 74.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006523/0.5339, allocations: 0.6821 MB / 0.5379 GB, free: 73.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5339, allocations: 7.938 kB / 0.538 GB, free: 73.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003512/0.5342, allocations: 88 kB / 0.538 GB, free: 73.29 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001496/0.5344, allocations: 147.2 kB / 0.5382 GB, free: 73.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007234/0.5351, allocations: 0.9206 MB / 0.5391 GB, free: 72.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5351, allocations: 0 / 0.5391 GB, free: 72.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000466/0.5356, allocations: 0.7686 MB / 0.5398 GB, free: 71.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.5363, allocations: 234.7 kB / 0.5401 GB, free: 71.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.5379, allocations: 1.467 MB / 0.5415 GB, free: 69.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.5383, allocations: 0.9558 MB / 0.5424 GB, free: 68.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002213/0.5385, allocations: 93.98 kB / 0.5425 GB, free: 68.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.5386, allocations: 43.36 kB / 0.5426 GB, free: 68.42 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5386, allocations: 0 / 0.5426 GB, free: 68.42 MB / 378.7 MB Notification: Performance of Templates: time 0.01128/0.5499, allocations: 11.91 MB / 0.5542 GB, free: 56.38 MB / 378.7 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","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches