Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009394/0.0009396, allocations: 176.3 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009117/0.0009116, allocations: 86.7 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.564e-05/1.567e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08502/0.08506, allocations: 47.59 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2946/0.3797, allocations: 82.29 MB / 445.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.38, allocations: 66.78 kB / 445.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07798/0.458, allocations: 42.88 MB / 488.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.4581, allocations: 0 / 488.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.4581, allocations: 11.94 kB / 488.3 MB, free: 8.523 MB / 362.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.0009063/0.459, allocations: 0.9474 MB / 489.3 MB, free: 7.477 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.459, allocations: 8.031 kB / 489.3 MB, free: 7.469 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.4592, allocations: 71.16 kB / 489.3 MB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.4597, allocations: 368 kB / 489.7 MB, free: 7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.4597, allocations: 12 kB / 489.7 MB, free: 6.988 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/0.4598, allocations: 20 kB / 489.7 MB, free: 6.969 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002736/0.4601, allocations: 140.3 kB / 489.9 MB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.4605, allocations: 275 kB / 490.1 MB, free: 6.555 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4605, allocations: 0 / 490.1 MB, free: 6.555 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.4606, allocations: 11.95 kB / 490.2 MB, free: 6.543 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.4606, allocations: 4 kB / 490.2 MB, free: 6.539 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.4618, allocations: 0.7239 MB / 490.9 MB, free: 5.777 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.4621, allocations: 198.5 kB / 491.1 MB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.4623, allocations: 180.8 kB / 491.3 MB, free: 5.395 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.4624, allocations: 7.938 kB / 491.3 MB, free: 5.387 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004754/0.4629, allocations: 418.4 kB / 491.7 MB, free: 4.941 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.4629, allocations: 0 / 491.7 MB, free: 4.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001047/0.4639, allocations: 0.6221 MB / 492.3 MB, free: 4.312 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/0.4641, allocations: 281 kB / 492.6 MB, free: 3.977 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.4651, allocations: 0.7961 MB / 493.4 MB, free: 3.176 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.4652, allocations: 37.7 kB / 493.4 MB, free: 3.133 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.4653, allocations: 126 kB / 493.5 MB, free: 3.004 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.034e-05/0.4654, allocations: 67.2 kB / 493.6 MB, free: 2.938 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.4655, allocations: 12 kB / 493.6 MB, free: 2.926 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4656, allocations: 330.8 kB / 493.9 MB, free: 2.594 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.4658, allocations: 136.2 kB / 494.1 MB, free: 2.461 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.466, allocations: 150.2 kB / 494.2 MB, free: 2.309 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.4662, allocations: 111.9 kB / 494.3 MB, free: 2.199 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4662, allocations: 0 / 494.3 MB, free: 2.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008756/0.4671, allocations: 0.5752 MB / 494.9 MB, free: 1.617 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.4673, allocations: 249.5 kB / 495.1 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4673, allocations: 0 / 495.1 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.4673, allocations: 0 / 495.1 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.471e-05/0.4673, allocations: 8 kB / 495.1 MB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4674, allocations: 0 / 495.1 MB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.4676, allocations: 31.88 kB / 495.2 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000258/0.4679, allocations: 263.8 kB / 495.4 MB, free: 1.027 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.y,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,$PRE.bUF3S1.inertialDelaySensitive.y,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 () * 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.0003178/0.4682, allocations: 391.8 kB / 495.8 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.4683, allocations: 79.11 kB / 495.9 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.4685, allocations: 131.3 kB / 496 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4685, allocations: 0 / 496 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4685, allocations: 0 / 496 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4686, allocations: 7.922 kB / 496 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.4701, allocations: 1.182 MB / 497.2 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4701, allocations: 0 / 497.2 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.718e-05/0.4701, allocations: 15.95 kB / 497.2 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.4701, allocations: 3.984 kB / 497.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-05/0.4702, allocations: 43.97 kB / 497.3 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4702, allocations: 0 / 497.3 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4702, allocations: 0 / 497.3 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.4712, allocations: 0.7524 MB / 498 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005709/0.4718, allocations: 427.8 kB / 498.4 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.472, allocations: 23.95 kB / 498.5 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.4722, allocations: 35.88 kB / 498.5 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.4724, allocations: 71.92 kB / 498.6 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002448/0.4727, allocations: 267.5 kB / 498.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008129/0.4735, allocations: 0.6509 MB / 499.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4735, allocations: 0 / 499.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003789/0.4739, allocations: 84 kB / 499.6 MB, free: 12.75 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]) * 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.0001978/0.4741, allocations: 141.5 kB / 499.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008365/0.4749, allocations: 0.8742 MB / 0.4888 GB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4749, allocations: 0 / 0.4888 GB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005803/0.4755, allocations: 0.7491 MB / 0.4896 GB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009538/0.4765, allocations: 240.8 kB / 0.4898 GB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.4781, allocations: 1.055 MB / 0.4908 GB, free: 9.469 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/0.4787, allocations: 0.9557 MB / 0.4918 GB, free: 8.484 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002213/0.4789, allocations: 93.06 kB / 0.4919 GB, free: 8.395 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.315e-05/0.479, allocations: 43.38 kB / 0.4919 GB, free: 8.352 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.479, allocations: 0 / 0.4919 GB, free: 8.352 MB / 378.7 MB Notification: Performance of Templates: time 0.01483/0.4939, allocations: 11.6 MB / 0.5032 GB, free: 12.56 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches