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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 88.33 kB / 21.44 MB, free: 3.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004633/0.004633, allocations: 154.5 kB / 24.7 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8627/0.8627, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.103e-05/4.316e-05, allocations: 7.484 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003029/0.003072, allocations: 1.736 MB / 327.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.004693, allocations: 0.9237 MB / 328.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.784e-05/0.004781, allocations: 7.938 kB / 328.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.004929, allocations: 19.78 kB / 328.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.798e-05/0.005007, allocations: 47.59 kB / 328.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.005389, allocations: 99.75 kB / 328.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000361/0.00575, allocations: 295.3 kB / 328.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.005888, allocations: 37.77 kB / 328.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.006928, allocations: 0.7915 MB / 329.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.007112, allocations: 135.5 kB / 329.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.672e-05/0.007159, allocations: 20 kB / 329.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.084e-05/0.0072, allocations: 24 kB / 329.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.00732, allocations: 147.4 kB / 330 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.007436, allocations: 111.5 kB / 330.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005694/0.008006, allocations: 0.7591 MB / 330.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.008011, allocations: 0 / 330.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.008014, allocations: 0 / 330.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.008026, allocations: 0 / 330.9 MB, free: 10.21 MB / 298.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.00104/0.009066, allocations: 1.101 MB / 332 MB, free: 9.023 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.009106, allocations: 11.98 kB / 332 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.009206, allocations: 88.41 kB / 332.1 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.009515, allocations: 338.3 kB / 332.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.00954, allocations: 12.56 kB / 332.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.009571, allocations: 24.36 kB / 332.5 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004529/0.01002, allocations: 493.2 kB / 333 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.01003, allocations: 0 / 333 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.01006, allocations: 8 kB / 333 MB, free: 7.988 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.01007, allocations: 7.938 kB / 333 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.01034, allocations: 377.8 kB / 333.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007814/0.01112, allocations: 0.637 MB / 334 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.01144, allocations: 388.1 kB / 334.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.01167, allocations: 366.4 kB / 334.7 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.01168, allocations: 4.125 kB / 334.7 MB, free: 6.043 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004854/0.01217, allocations: 0.6316 MB / 335.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.814e-06/0.01217, allocations: 0 / 335.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0013/0.01347, allocations: 1.416 MB / 336.8 MB, free: 3.758 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.01358, allocations: 281 kB / 337 MB, free: 3.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000776/0.01435, allocations: 0.953 MB / 338 MB, free: 2.457 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.01439, allocations: 37.7 kB / 338 MB, free: 2.414 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.01446, allocations: 134 kB / 338.2 MB, free: 2.277 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.378e-05/0.01451, allocations: 63.53 kB / 338.2 MB, free: 2.215 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.01465, allocations: 161.3 kB / 338.4 MB, free: 2.051 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.505e-05/0.01474, allocations: 338.8 kB / 338.7 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.01496, allocations: 369.8 kB / 339.1 MB, free: 1.301 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.0152, allocations: 413.4 kB / 339.5 MB, free: 0.832 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.01563, allocations: 0.7099 MB / 340.2 MB, free: 8 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01563, allocations: 0 / 340.2 MB, free: 8 kB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007354/0.01637, allocations: 1.013 MB / 341.2 MB, free: 14.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.01647, allocations: 253.5 kB / 341.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.01648, allocations: 4.094 kB / 341.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.01649, allocations: 4 kB / 341.5 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.109e-05/0.01653, allocations: 4 kB / 341.5 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.01653, allocations: 4 kB / 341.5 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.01668, allocations: 23.94 kB / 341.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/0.01676, allocations: 112.1 kB / 341.6 MB, free: 14.44 MB / 314.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.0003994/0.01716, allocations: 0.6006 MB / 342.2 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.01722, allocations: 83.52 kB / 342.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.01734, allocations: 138.8 kB / 342.4 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01735, allocations: 4 kB / 342.4 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.01735, allocations: 0 / 342.4 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01736, allocations: 0 / 342.4 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.01873, allocations: 1.578 MB / 344 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.01873, allocations: 4 kB / 344 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.364e-05/0.01875, allocations: 11.92 kB / 344 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01875, allocations: 0 / 344 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.01878, allocations: 27.98 kB / 344 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01878, allocations: 7.938 kB / 344 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01878, allocations: 0 / 344 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007736/0.01955, allocations: 1.228 MB / 345.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/0.01999, allocations: 412.8 kB / 345.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/0.02005, allocations: 24 kB / 345.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.02017, allocations: 23.98 kB / 345.7 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.02028, allocations: 51.94 kB / 345.8 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/0.02035, allocations: 111.9 kB / 345.9 MB, free: 9.836 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000546/0.0209, allocations: 0.6899 MB / 346.6 MB, free: 9.148 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.0209, allocations: 0 / 346.6 MB, free: 9.148 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002493/0.02115, allocations: 92 kB / 346.7 MB, free: 9.059 MB / 314.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.0001385/0.02128, allocations: 147.2 kB / 346.8 MB, free: 8.906 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007219/0.02201, allocations: 1.244 MB / 348.1 MB, free: 7.465 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.02201, allocations: 0 / 348.1 MB, free: 7.465 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004066/0.02241, allocations: 0.8444 MB / 348.9 MB, free: 6.473 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006065/0.02302, allocations: 289.2 kB / 349.2 MB, free: 6.219 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.02476, allocations: 1.599 MB / 350.8 MB, free: 4.531 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.02503, allocations: 352.7 kB / 351.1 MB, free: 4.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.771e-05/0.02512, allocations: 56.41 kB / 351.2 MB, free: 4.105 MB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02512, allocations: 0 / 351.2 MB, free: 4.105 MB / 314.7 MB Notification: Performance of Templates: time 0.005088/0.03021, allocations: 5.351 MB / 356.5 MB, free: 14.73 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.996857859194279]