Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 77.88 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 169.7 kB / 24.82 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.094/1.094, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 7.875 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.589e-05, allocations: 5.266 kB / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.00198/0.001995, allocations: 1.77 MB / 275.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.003529, allocations: 0.951 MB / 276.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.756e-05/0.003596, allocations: 7.938 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.003735, allocations: 23.78 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.372e-05/0.003808, allocations: 47.58 kB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.0041, allocations: 95.77 kB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.00438, allocations: 303.2 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.581e-05/0.004476, allocations: 25.8 kB / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005887/0.005065, allocations: 0.7915 MB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.005224, allocations: 131.6 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.736e-05/0.005281, allocations: 27.94 kB / 277.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.264e-05/0.005324, allocations: 20 kB / 277.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.00544, allocations: 143.4 kB / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.005548, allocations: 115.5 kB / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00069/0.006238, allocations: 0.5643 MB / 278.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.00624, allocations: 0 / 278.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006241, allocations: 0 / 278.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.006246, allocations: 4 kB / 278.4 MB, free: 12.27 MB / 266.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.0008685/0.007115, allocations: 1.275 MB / 279.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.007156, allocations: 16.02 kB / 279.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.847e-05/0.007244, allocations: 88.47 kB / 279.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.007485, allocations: 353.1 kB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.007507, allocations: 20.5 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.007534, allocations: 12.38 kB / 280.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.007893, allocations: 458.1 kB / 280.6 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.0079, allocations: 0 / 280.6 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.007923, allocations: 12 kB / 280.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.007928, allocations: 0 / 280.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.008103, allocations: 321.8 kB / 280.9 MB, free: 9.512 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006583/0.008761, allocations: 0.6329 MB / 281.6 MB, free: 8.852 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.00898, allocations: 359.6 kB / 281.9 MB, free: 8.441 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.009156, allocations: 329.2 kB / 282.2 MB, free: 8.066 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.009167, allocations: 4 kB / 282.2 MB, free: 8.062 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003189/0.009486, allocations: 0.5792 MB / 282.8 MB, free: 7.395 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.382e-06/0.009487, allocations: 0 / 282.8 MB, free: 7.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008821/0.01037, allocations: 1.302 MB / 284.1 MB, free: 5.938 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.541e-05/0.01046, allocations: 289 kB / 284.4 MB, free: 5.594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.01156, allocations: 0.8813 MB / 285.3 MB, free: 4.695 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.01159, allocations: 37.7 kB / 285.3 MB, free: 4.652 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.01166, allocations: 176.8 kB / 285.5 MB, free: 4.473 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/0.01172, allocations: 75.44 kB / 285.6 MB, free: 4.398 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.01185, allocations: 167 kB / 285.7 MB, free: 4.227 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.01197, allocations: 0.5079 MB / 286.2 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.01214, allocations: 313.8 kB / 286.5 MB, free: 3.352 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.01232, allocations: 352.8 kB / 286.9 MB, free: 2.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.01265, allocations: 0.6545 MB / 287.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01265, allocations: 0 / 287.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006063/0.01325, allocations: 0.927 MB / 288.5 MB, free: 1.137 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.612e-05/0.01335, allocations: 248.1 kB / 288.7 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.01335, allocations: 0 / 288.7 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.01337, allocations: 8.031 kB / 288.7 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.146e-05/0.01339, allocations: 11.94 kB / 288.7 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.01339, allocations: 4 kB / 288.7 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.01352, allocations: 23.94 kB / 288.8 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.766e-05/0.0136, allocations: 112.1 kB / 288.9 MB, free: 0.6914 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.0003894/0.01398, allocations: 0.6111 MB / 289.5 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.353e-05/0.01408, allocations: 95.58 kB / 289.6 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.01422, allocations: 106.8 kB / 289.7 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.01423, allocations: 7.938 kB / 289.7 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.01423, allocations: 4 kB / 289.7 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01424, allocations: 0 / 289.7 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.0153, allocations: 1.489 MB / 291.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.0153, allocations: 0 / 291.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.145e-05/0.01531, allocations: 15.98 kB / 291.2 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01531, allocations: 0 / 291.2 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.01535, allocations: 35.92 kB / 291.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01535, allocations: 0 / 291.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01535, allocations: 0 / 291.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009799/0.01633, allocations: 1.198 MB / 292.4 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004176/0.01675, allocations: 373 kB / 292.8 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.0168, allocations: 23.92 kB / 292.8 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.01691, allocations: 27.98 kB / 292.8 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/0.017, allocations: 47.94 kB / 292.9 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.065e-05/0.01707, allocations: 111.9 kB / 293 MB, free: 12.24 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003645/0.01744, allocations: 486.5 kB / 293.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01744, allocations: 0 / 293.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000227/0.01766, allocations: 92 kB / 293.6 MB, free: 11.68 MB / 282.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.0001113/0.01778, allocations: 143.2 kB / 293.7 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005616/0.01834, allocations: 1.15 MB / 294.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01834, allocations: 0 / 294.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.01867, allocations: 0.8128 MB / 295.7 MB, free: 9.211 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005697/0.01924, allocations: 301.4 kB / 296 MB, free: 8.945 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.02048, allocations: 1.448 MB / 297.4 MB, free: 7.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.0206, allocations: 152.1 kB / 297.6 MB, free: 7.242 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.02074, allocations: 85.28 kB / 297.6 MB, free: 7.156 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004888/0.02123, allocations: 322 kB / 298 MB, free: 6.84 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02123, allocations: 0 / 298 MB, free: 6.84 MB / 282.7 MB Notification: Performance of Templates: time 0.1052/0.1264, allocations: 9.625 MB / 307.6 MB, free: 40.32 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8804402970708907]