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/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.001475/0.001475, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.00149/0.00149, allocations: 159.9 kB / 25.75 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.078/1.078, allocations: 158.6 MB / 187.5 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 179] 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 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_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 4 kB / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.772e-05, allocations: 2.312 kB / 251.1 MB, free: 7.785 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.00225/0.002278, allocations: 1.767 MB / 252.9 MB, free: 6.008 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.003891, allocations: 0.9558 MB / 253.8 MB, free: 5.043 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.347e-05/0.003974, allocations: 0 / 253.8 MB, free: 5.043 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.004133, allocations: 27.72 kB / 253.9 MB, free: 5.016 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.004211, allocations: 43.66 kB / 253.9 MB, free: 4.973 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.004578, allocations: 107.7 kB / 254 MB, free: 4.867 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.00489, allocations: 295.3 kB / 254.3 MB, free: 4.578 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.005019, allocations: 37.77 kB / 254.3 MB, free: 4.543 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006063/0.005625, allocations: 0.7876 MB / 255.1 MB, free: 3.754 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.005789, allocations: 135.6 kB / 255.3 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.005837, allocations: 20 kB / 255.3 MB, free: 3.602 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.722e-05/0.005874, allocations: 24 kB / 255.3 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.005992, allocations: 143.4 kB / 255.4 MB, free: 3.438 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.006117, allocations: 115.5 kB / 255.6 MB, free: 3.324 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004733/0.006591, allocations: 0.5643 MB / 256.1 MB, free: 2.758 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.006595, allocations: 0 / 256.1 MB, free: 2.758 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.006597, allocations: 0 / 256.1 MB, free: 2.758 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.006606, allocations: 8 kB / 256.1 MB, free: 2.75 MB / 234.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.001421/0.008027, allocations: 1.263 MB / 257.4 MB, free: 1.395 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.00807, allocations: 11.98 kB / 257.4 MB, free: 1.383 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.008203, allocations: 96.47 kB / 257.5 MB, free: 1.289 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.008512, allocations: 341.1 kB / 257.8 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.008547, allocations: 16.55 kB / 257.8 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.00858, allocations: 24.31 kB / 257.9 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.009109, allocations: 481.2 kB / 258.3 MB, free: 368 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.009118, allocations: 0 / 258.3 MB, free: 368 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.009148, allocations: 12 kB / 258.3 MB, free: 356 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.009156, allocations: 8 kB / 258.4 MB, free: 348 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.009421, allocations: 341.8 kB / 258.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.01065, allocations: 0.8002 MB / 259.5 MB, free: 15.12 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.01102, allocations: 376.5 kB / 259.9 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.01127, allocations: 349.3 kB / 260.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.01128, allocations: 8 kB / 260.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004442/0.01172, allocations: 0.5949 MB / 260.8 MB, free: 13.61 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 2.144e-06/0.01172, allocations: 0 / 260.8 MB, free: 13.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.001448/0.01317, allocations: 1.357 MB / 262.2 MB, free: 12.09 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.01334, allocations: 285 kB / 262.4 MB, free: 11.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.01457, allocations: 1.112 MB / 263.6 MB, free: 10.63 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.01461, allocations: 37.7 kB / 263.6 MB, free: 10.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.425e-05/0.0147, allocations: 184.7 kB / 263.8 MB, free: 10.4 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/0.01476, allocations: 63.53 kB / 263.8 MB, free: 10.34 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.01492, allocations: 167 kB / 264 MB, free: 10.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.01507, allocations: 0.5079 MB / 264.5 MB, free: 9.645 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.01532, allocations: 337.8 kB / 264.8 MB, free: 9.266 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.01561, allocations: 384.8 kB / 265.2 MB, free: 8.824 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/0.01604, allocations: 0.671 MB / 265.9 MB, free: 8.035 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.01605, allocations: 7.875 kB / 265.9 MB, free: 8.027 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009112/0.01696, allocations: 0.9574 MB / 266.8 MB, free: 6.965 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/0.01714, allocations: 257.5 kB / 267.1 MB, free: 6.664 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.01715, allocations: 0 / 267.1 MB, free: 6.664 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/0.01718, allocations: 0 / 267.1 MB, free: 6.664 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.264e-05/0.01723, allocations: 8 kB / 267.1 MB, free: 6.656 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.01724, allocations: 3.938 kB / 267.1 MB, free: 6.652 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.01749, allocations: 27.94 kB / 267.1 MB, free: 6.625 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.01759, allocations: 108.1 kB / 267.2 MB, free: 6.52 MB / 250.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.0005552/0.01814, allocations: 0.6112 MB / 267.8 MB, free: 5.848 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.01825, allocations: 107.5 kB / 268 MB, free: 5.742 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.0184, allocations: 110.8 kB / 268.1 MB, free: 5.629 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.01841, allocations: 0 / 268.1 MB, free: 5.629 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.01841, allocations: 0 / 268.1 MB, free: 5.629 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.01842, allocations: 0 / 268.1 MB, free: 5.629 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.02002, allocations: 1.683 MB / 269.7 MB, free: 3.805 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.02003, allocations: 7.938 kB / 269.8 MB, free: 3.797 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/0.02004, allocations: 11.92 kB / 269.8 MB, free: 3.785 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.02005, allocations: 0 / 269.8 MB, free: 3.785 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.02009, allocations: 35.98 kB / 269.8 MB, free: 3.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.02009, allocations: 4 kB / 269.8 MB, free: 3.746 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.02009, allocations: 0 / 269.8 MB, free: 3.746 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009803/0.02107, allocations: 1.245 MB / 271 MB, free: 2.383 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004905/0.02156, allocations: 384.9 kB / 271.4 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.756e-05/0.02164, allocations: 16 kB / 271.4 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.02178, allocations: 23.98 kB / 271.5 MB, free: 1.957 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.02193, allocations: 55.94 kB / 271.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.953e-05/0.02202, allocations: 123.8 kB / 271.6 MB, free: 1.781 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0007905/0.02281, allocations: 0.7249 MB / 272.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02281, allocations: 4 kB / 272.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003247/0.02313, allocations: 92 kB / 272.5 MB, free: 0.9648 MB / 250.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.0002159/0.02335, allocations: 135.2 kB / 272.6 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009814/0.02433, allocations: 1.197 MB / 273.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.02434, allocations: 0 / 273.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005086/0.02485, allocations: 0.8402 MB / 274.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000734/0.02558, allocations: 305.5 kB / 274.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.02724, allocations: 1.467 MB / 276.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.0274, allocations: 144.2 kB / 276.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002165/0.02762, allocations: 93.2 kB / 276.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.926e-05/0.02771, allocations: 52.42 kB / 276.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of SimCode: time 1.583e-06/0.02771, allocations: 0 / 276.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of Templates: time 0.01217/0.03987, allocations: 10.28 MB / 287 MB, free: 2.008 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 240] 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","",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.997773302020505]