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.0007849/0.0007849, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.003568/0.003568, allocations: 162 kB / 24.7 MB, free: 8.91 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.8889/0.8889, allocations: 177.1 MB / 205 MB, free: 5.738 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.733e-06/1.733e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.666e-05, allocations: 2.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002016/0.002043, allocations: 1.735 MB / 327.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.003859, allocations: 0.9354 MB / 328.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.003933, allocations: 0 / 328.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.004082, allocations: 23.78 kB / 328.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.26e-05/0.004154, allocations: 51.58 kB / 328.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.004472, allocations: 99.77 kB / 328.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.00476, allocations: 299.3 kB / 329 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.004876, allocations: 25.8 kB / 329 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005588/0.005435, allocations: 0.7993 MB / 329.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.005586, allocations: 131.6 kB / 329.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.005629, allocations: 20 kB / 329.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.572e-05/0.005665, allocations: 20 kB / 330 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.005773, allocations: 139.5 kB / 330.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.005879, allocations: 127.5 kB / 330.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004867/0.006366, allocations: 0.7475 MB / 331 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.006371, allocations: 7.984 kB / 331 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.006373, allocations: 3.938 kB / 331 MB, free: 10.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.006379, allocations: 0 / 331 MB, free: 10.25 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.0008532/0.007232, allocations: 1.104 MB / 332.1 MB, free: 9.066 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.007272, allocations: 8.031 kB / 332.1 MB, free: 9.059 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.623e-05/0.007358, allocations: 80.42 kB / 332.2 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.007656, allocations: 342.3 kB / 332.5 MB, free: 8.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.007682, allocations: 12.56 kB / 332.5 MB, free: 8.609 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.007714, allocations: 24.36 kB / 332.5 MB, free: 8.586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.00815, allocations: 489.2 kB / 333 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.008159, allocations: 0 / 333 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.008186, allocations: 12 kB / 333 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.008193, allocations: 4 kB / 333 MB, free: 8.035 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.008462, allocations: 373.8 kB / 333.4 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008218/0.009284, allocations: 0.6369 MB / 334 MB, free: 6.953 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.009611, allocations: 392.1 kB / 334.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005172/0.01013, allocations: 370.4 kB / 334.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.01014, allocations: 7.938 kB / 334.8 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005222/0.01067, allocations: 0.6256 MB / 335.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/0.01067, allocations: 0 / 335.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001072/0.01174, allocations: 1.416 MB / 336.8 MB, free: 3.809 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.01185, allocations: 289 kB / 337.1 MB, free: 3.465 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008066/0.01266, allocations: 0.9413 MB / 338.1 MB, free: 2.512 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.01269, allocations: 41.69 kB / 338.1 MB, free: 2.465 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.01276, allocations: 126 kB / 338.2 MB, free: 2.336 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/0.01282, allocations: 71.53 kB / 338.3 MB, free: 2.266 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.01296, allocations: 161.3 kB / 338.4 MB, free: 2.102 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.635e-05/0.01305, allocations: 338.8 kB / 338.8 MB, free: 1.762 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.01329, allocations: 365.8 kB / 339.1 MB, free: 1.355 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.01354, allocations: 413.4 kB / 339.5 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.01395, allocations: 0.7107 MB / 340.2 MB, free: 64 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01396, allocations: 0 / 340.2 MB, free: 64 kB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007108/0.01467, allocations: 1.016 MB / 341.3 MB, free: 14.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003646/0.01503, allocations: 249.5 kB / 341.5 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01504, allocations: 4.094 kB / 341.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.01505, allocations: 0 / 341.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.189e-05/0.01509, allocations: 11.98 kB / 341.5 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.01509, allocations: 0 / 341.5 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.01525, allocations: 31.94 kB / 341.6 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.107e-05/0.01533, allocations: 100.2 kB / 341.7 MB, free: 14.5 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.0003902/0.01572, allocations: 0.6123 MB / 342.3 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.01577, allocations: 79.53 kB / 342.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.0159, allocations: 138.8 kB / 342.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.0159, allocations: 4 kB / 342.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.01591, allocations: 0 / 342.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01591, allocations: 3.984 kB / 342.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.01705, allocations: 1.575 MB / 344.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01705, allocations: 0 / 344.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.207e-05/0.01707, allocations: 7.938 kB / 344.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01707, allocations: 0 / 344.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.0171, allocations: 31.98 kB / 344.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.0171, allocations: 0 / 344.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.0171, allocations: 0 / 344.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007869/0.01789, allocations: 1.24 MB / 345.3 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004463/0.01834, allocations: 412.9 kB / 345.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.917e-05/0.0184, allocations: 24 kB / 345.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.01852, allocations: 23.98 kB / 345.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.01864, allocations: 55.94 kB / 345.8 MB, free: 9.992 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/0.01871, allocations: 107.9 kB / 345.9 MB, free: 9.887 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005578/0.01927, allocations: 0.6937 MB / 346.6 MB, free: 9.195 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01927, allocations: 0 / 346.6 MB, free: 9.195 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002472/0.01952, allocations: 92 kB / 346.7 MB, free: 9.105 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.0001425/0.01966, allocations: 147.2 kB / 346.9 MB, free: 8.953 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007511/0.02041, allocations: 1.24 MB / 348.1 MB, free: 7.516 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.02041, allocations: 0 / 348.1 MB, free: 7.516 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006819/0.02109, allocations: 0.8522 MB / 349 MB, free: 6.516 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006205/0.02171, allocations: 272 kB / 349.2 MB, free: 6.273 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.02314, allocations: 1.6 MB / 350.8 MB, free: 4.586 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.02342, allocations: 348.7 kB / 351.2 MB, free: 4.219 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.178e-05/0.02351, allocations: 60.41 kB / 351.2 MB, free: 4.16 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02351, allocations: 0 / 351.2 MB, free: 4.16 MB / 314.7 MB Notification: Performance of Templates: time 0.005518/0.02903, allocations: 5.36 MB / 356.6 MB, free: 14.8 MB / 330.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.290819616056979]