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.0009253/0.0009253, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009523/0.0009523, allocations: 170.3 kB / 24.91 MB, free: 8.723 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.9163/0.9163, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.223e-06/1.223e-06, allocations: 0 / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386e-05/1.508e-05, allocations: 5.266 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.00179/0.001805, allocations: 1.772 MB / 275.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.003253, allocations: 0.9664 MB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.109e-05/0.003314, allocations: 4 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.003439, allocations: 23.72 kB / 276.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.35e-05/0.003513, allocations: 43.64 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.003798, allocations: 107.7 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.004059, allocations: 295.3 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.566e-05/0.004145, allocations: 38.44 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000582/0.004727, allocations: 0.733 MB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.004874, allocations: 127.6 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.004916, allocations: 20 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.973e-05/0.004956, allocations: 20 kB / 277.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.682e-05/0.005052, allocations: 147.4 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.005153, allocations: 119.5 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.00551, allocations: 0.5605 MB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.005512, allocations: 3.938 kB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005512, allocations: 0 / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.005518, allocations: 4 kB / 278.4 MB, free: 12.2 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.0007285/0.006246, allocations: 1.064 MB / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.006278, allocations: 15.97 kB / 279.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.636e-05/0.006365, allocations: 64.88 kB / 279.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.006612, allocations: 322.4 kB / 279.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.006637, allocations: 16.56 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.006666, allocations: 12.38 kB / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.007027, allocations: 442.1 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.007035, allocations: 0 / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.00706, allocations: 19.98 kB / 280.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.007065, allocations: 3.938 kB / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.007227, allocations: 309.8 kB / 280.7 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.007755, allocations: 395.7 kB / 281 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.007968, allocations: 332.1 kB / 281.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.008123, allocations: 314.4 kB / 281.7 MB, free: 8.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.008132, allocations: 0 / 281.7 MB, free: 8.598 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000293/0.008425, allocations: 0.562 MB / 282.2 MB, free: 7.949 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.425e-06/0.008427, allocations: 11.92 kB / 282.2 MB, free: 7.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005823/0.00901, allocations: 1.014 MB / 283.3 MB, free: 6.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.701e-05/0.009107, allocations: 285 kB / 283.5 MB, free: 6.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005007/0.009607, allocations: 0.6207 MB / 284.2 MB, free: 5.797 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.00964, allocations: 33.7 kB / 284.2 MB, free: 5.758 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.009687, allocations: 118 kB / 284.3 MB, free: 5.637 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.009736, allocations: 63.56 kB / 284.4 MB, free: 5.574 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.009851, allocations: 145.3 kB / 284.5 MB, free: 5.426 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.43e-05/0.009925, allocations: 334.8 kB / 284.8 MB, free: 5.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.01008, allocations: 301.8 kB / 285.1 MB, free: 4.746 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.01023, allocations: 337.5 kB / 285.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.01053, allocations: 0.6267 MB / 286.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01054, allocations: 0 / 286.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003777/0.01091, allocations: 0.6887 MB / 286.8 MB, free: 2.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.016e-05/0.011, allocations: 245.6 kB / 287 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01101, allocations: 4 kB / 287 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.01102, allocations: 3.938 kB / 287 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.151e-05/0.01104, allocations: 7.984 kB / 287 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.01104, allocations: 3.938 kB / 287 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.01116, allocations: 31.94 kB / 287.1 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.937e-05/0.01123, allocations: 92.16 kB / 287.2 MB, free: 2.391 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.0003835/0.01162, allocations: 0.58 MB / 287.7 MB, free: 1.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.01168, allocations: 63.94 kB / 287.8 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.01183, allocations: 106.9 kB / 287.9 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01183, allocations: 7.938 kB / 287.9 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01183, allocations: 3.984 kB / 287.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01184, allocations: 0 / 287.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006898/0.01253, allocations: 1.057 MB / 289 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01253, allocations: 0 / 289 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.935e-06/0.01254, allocations: 4 kB / 289 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.01254, allocations: 4 kB / 289 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.01257, allocations: 19.97 kB / 289 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.01257, allocations: 7.938 kB / 289 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01257, allocations: 0 / 289 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.01308, allocations: 0.8462 MB / 289.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000327/0.01341, allocations: 269.2 kB / 290.1 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/0.01347, allocations: 24 kB / 290.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.01358, allocations: 31.86 kB / 290.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/0.01366, allocations: 35.95 kB / 290.2 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.786e-05/0.01372, allocations: 107.8 kB / 290.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002719/0.014, allocations: 312.3 kB / 290.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.014, allocations: 0 / 290.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002141/0.01421, allocations: 92 kB / 290.7 MB, free: 14.53 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.0001097/0.01432, allocations: 128.3 kB / 290.8 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006574/0.01498, allocations: 1.128 MB / 292 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.01498, allocations: 4 kB / 292 MB, free: 13.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.01531, allocations: 0.805 MB / 292.8 MB, free: 12.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005104/0.01582, allocations: 285.4 kB / 293 MB, free: 11.85 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.01728, allocations: 1.418 MB / 294.5 MB, free: 10.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.01739, allocations: 148.2 kB / 294.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.01752, allocations: 85.3 kB / 294.7 MB, free: 10.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/0.01796, allocations: 285.1 kB / 295 MB, free: 9.816 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01796, allocations: 4 kB / 295 MB, free: 9.812 MB / 282.7 MB Notification: Performance of Templates: time 0.009445/0.02741, allocations: 9.419 MB / 304.4 MB, free: 0.5117 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.773682765197009]