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.001168/0.001168, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001563/0.001563, allocations: 173.8 kB / 25.61 MB, free: 8.582 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 0.9246/0.9246, allocations: 177.1 MB / 206 MB, free: 4.512 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.192e-06/1.192e-06, allocations: 0 / 274.2 MB, free: 4.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.522e-05, allocations: 4.438 kB / 274.2 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.001891/0.001907, allocations: 1.765 MB / 276 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.00335, allocations: 0.9547 MB / 276.9 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.696e-05/0.003417, allocations: 0 / 276.9 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.003551, allocations: 23.78 kB / 276.9 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.235e-05/0.003624, allocations: 43.64 kB / 277 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.003916, allocations: 96.31 kB / 277.1 MB, free: 1.633 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005162/0.004433, allocations: 300.2 kB / 277.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.646e-05/0.004529, allocations: 33.73 kB / 277.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006946/0.005224, allocations: 0.7922 MB / 278.2 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.005361, allocations: 127.6 kB / 278.3 MB, free: 396 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.145e-05/0.005402, allocations: 22.47 kB / 278.3 MB, free: 376 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.087e-05/0.005443, allocations: 20 kB / 278.4 MB, free: 356 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.582e-05/0.005539, allocations: 143.5 kB / 278.5 MB, free: 212 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.847e-05/0.005637, allocations: 119.5 kB / 278.6 MB, free: 92 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.006034, allocations: 0.5643 MB / 279.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.006037, allocations: 3.984 kB / 279.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.006038, allocations: 1.938 kB / 279.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.006044, allocations: 0 / 279.2 MB, free: 15.52 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.0008784/0.006922, allocations: 1.279 MB / 280.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.006951, allocations: 8.031 kB / 280.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.007053, allocations: 104.4 kB / 280.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.007299, allocations: 341.7 kB / 280.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.007322, allocations: 12.56 kB / 280.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.007352, allocations: 24.97 kB / 280.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.007708, allocations: 453.3 kB / 281.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.007715, allocations: 0 / 281.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.007739, allocations: 12 kB / 281.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.007744, allocations: 0 / 281.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.007913, allocations: 321.8 kB / 281.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00065/0.008563, allocations: 0.629 MB / 282.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.008786, allocations: 352.6 kB / 282.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.008948, allocations: 333.2 kB / 283 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-06/0.008955, allocations: 3.938 kB / 283 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002991/0.009254, allocations: 0.5722 MB / 283.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.092e-06/0.009256, allocations: 0 / 283.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001078/0.01033, allocations: 1.298 MB / 284.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.782e-05/0.01043, allocations: 289 kB / 285.2 MB, free: 8.863 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007644/0.0112, allocations: 0.8891 MB / 286.1 MB, free: 7.957 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.01123, allocations: 37.7 kB / 286.1 MB, free: 7.914 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.0113, allocations: 176.8 kB / 286.3 MB, free: 7.734 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/0.01136, allocations: 67.52 kB / 286.3 MB, free: 7.668 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.01148, allocations: 170.9 kB / 286.5 MB, free: 7.492 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.01159, allocations: 0.5118 MB / 287 MB, free: 6.969 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.01175, allocations: 309.8 kB / 287.3 MB, free: 6.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.01192, allocations: 352.8 kB / 287.7 MB, free: 6.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.01223, allocations: 0.6624 MB / 288.3 MB, free: 5.426 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.01223, allocations: 0 / 288.3 MB, free: 5.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006117/0.01285, allocations: 0.9229 MB / 289.2 MB, free: 4.398 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.532e-05/0.01293, allocations: 245.6 kB / 289.5 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.01293, allocations: 0 / 289.5 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.01294, allocations: 7.938 kB / 289.5 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.018e-05/0.01296, allocations: 7.984 kB / 289.5 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.01297, allocations: 0 / 289.5 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.01309, allocations: 35.88 kB / 289.5 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-05/0.01317, allocations: 104.2 kB / 289.6 MB, free: 3.957 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.0004051/0.01358, allocations: 0.6189 MB / 290.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-05/0.01366, allocations: 103.5 kB / 290.4 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.01379, allocations: 106.9 kB / 290.5 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.0138, allocations: 3.938 kB / 290.5 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.0138, allocations: 0 / 290.5 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.0138, allocations: 3.984 kB / 290.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.01508, allocations: 1.481 MB / 291.9 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01508, allocations: 8 kB / 292 MB, free: 1.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.756e-06/0.01509, allocations: 4 kB / 292 MB, free: 1.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.01509, allocations: 0 / 292 MB, free: 1.438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.01512, allocations: 31.92 kB / 292 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01512, allocations: 4 kB / 292 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01512, allocations: 0 / 292 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008284/0.01595, allocations: 1.198 MB / 293.2 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004502/0.0164, allocations: 376.9 kB / 293.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.499e-05/0.01647, allocations: 31.92 kB / 293.6 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.01658, allocations: 16 kB / 293.6 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.01667, allocations: 55.94 kB / 293.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.399e-05/0.01674, allocations: 115.8 kB / 293.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000396/0.01714, allocations: 490.5 kB / 294.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01714, allocations: 0 / 294.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.01739, allocations: 88 kB / 294.3 MB, free: 14.93 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.0001149/0.0175, allocations: 147.2 kB / 294.5 MB, free: 14.78 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005877/0.01809, allocations: 1.158 MB / 295.6 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01809, allocations: 0 / 295.6 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006082/0.0187, allocations: 0.8167 MB / 296.5 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006117/0.01931, allocations: 292.9 kB / 296.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.02092, allocations: 1.441 MB / 298.2 MB, free: 10.67 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.02103, allocations: 148 kB / 298.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.02117, allocations: 93.28 kB / 298.4 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004719/0.02164, allocations: 310 kB / 298.7 MB, free: 10.11 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02164, allocations: 0 / 298.7 MB, free: 10.11 MB / 282.7 MB Notification: Performance of Templates: time 0.009907/0.03155, allocations: 9.783 MB / 308.5 MB, free: 472 kB / 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.9514990258030593]