Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 82.27 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 153.6 kB / 24.81 MB, free: 8.73 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.049/1.049, allocations: 173.3 MB / 201.4 MB, free: 9.219 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.669e-05, allocations: 6.25 kB / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.00196/0.001976, allocations: 1.763 MB / 270.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.003384, allocations: 0.9197 MB / 271.1 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.003449, allocations: 4 kB / 271.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.003593, allocations: 23.72 kB / 271.1 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.765e-05/0.003671, allocations: 43.7 kB / 271.2 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.003965, allocations: 103.8 kB / 271.3 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.004228, allocations: 295.3 kB / 271.6 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.004323, allocations: 41.66 kB / 271.6 MB, free: 2.996 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000571/0.004894, allocations: 0.7838 MB / 272.4 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.005028, allocations: 131.6 kB / 272.5 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.832e-05/0.005076, allocations: 23.98 kB / 272.5 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.68e-05/0.005113, allocations: 20 kB / 272.5 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.769e-05/0.005211, allocations: 139.4 kB / 272.7 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.571e-05/0.005306, allocations: 119.4 kB / 272.8 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.005678, allocations: 0.5644 MB / 273.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005681, allocations: 4 kB / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005682, allocations: 0 / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.005688, allocations: 0 / 273.4 MB, free: 1.215 MB / 250.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.0009121/0.0066, allocations: 1.276 MB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.006635, allocations: 16.91 kB / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.888e-05/0.006734, allocations: 96.47 kB / 274.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.006984, allocations: 337.1 kB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.007007, allocations: 20.55 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.007036, allocations: 20.38 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.007385, allocations: 456.3 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.007391, allocations: 0 / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.007416, allocations: 12 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.00742, allocations: 4 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.007602, allocations: 324.8 kB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006716/0.008274, allocations: 0.6251 MB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.008537, allocations: 360.5 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.008715, allocations: 325.2 kB / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.008724, allocations: 4 kB / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/0.009076, allocations: 0.5831 MB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/0.009077, allocations: 0 / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009143/0.009992, allocations: 1.295 MB / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.0101, allocations: 289 kB / 279.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000823/0.01092, allocations: 0.8852 MB / 280.2 MB, free: 9.652 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.01095, allocations: 33.7 kB / 280.3 MB, free: 9.613 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/0.01103, allocations: 188.7 kB / 280.5 MB, free: 9.422 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.01109, allocations: 59.62 kB / 280.5 MB, free: 9.363 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.01122, allocations: 167 kB / 280.7 MB, free: 9.191 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.01138, allocations: 0.5079 MB / 281.2 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.01158, allocations: 309.8 kB / 281.5 MB, free: 8.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.01179, allocations: 364.8 kB / 281.9 MB, free: 7.898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.01216, allocations: 0.6358 MB / 282.5 MB, free: 7.145 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01216, allocations: 4 kB / 282.5 MB, free: 7.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000657/0.01282, allocations: 0.9377 MB / 283.4 MB, free: 6.098 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.01292, allocations: 249.6 kB / 283.7 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01292, allocations: 0 / 283.7 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.01293, allocations: 0 / 283.7 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.955e-05/0.01295, allocations: 8 kB / 283.7 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.01296, allocations: 4 kB / 283.7 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.01309, allocations: 31.92 kB / 283.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.522e-05/0.01317, allocations: 108.2 kB / 283.8 MB, free: 5.656 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.0004344/0.0136, allocations: 0.615 MB / 284.4 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.547e-05/0.01369, allocations: 111.4 kB / 284.5 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.01383, allocations: 106.9 kB / 284.7 MB, free: 4.766 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01383, allocations: 4 kB / 284.7 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01383, allocations: 0 / 284.7 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01384, allocations: 0 / 284.7 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.01496, allocations: 1.481 MB / 286.1 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.01496, allocations: 11.88 kB / 286.1 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.788e-06/0.01497, allocations: 7.984 kB / 286.2 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.01498, allocations: 4 kB / 286.2 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.01501, allocations: 27.98 kB / 286.2 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01501, allocations: 0 / 286.2 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.01501, allocations: 4 kB / 286.2 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007986/0.01581, allocations: 1.201 MB / 287.4 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004343/0.01625, allocations: 376.8 kB / 287.8 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.033e-05/0.01631, allocations: 24 kB / 287.8 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.01642, allocations: 19.98 kB / 287.8 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.098e-05/0.01651, allocations: 51.95 kB / 287.9 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-05/0.01659, allocations: 111.9 kB / 288 MB, free: 1.199 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003886/0.01698, allocations: 486.5 kB / 288.4 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01698, allocations: 3.938 kB / 288.4 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.01722, allocations: 95.95 kB / 288.5 MB, free: 0.6289 MB / 266.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.0001214/0.01734, allocations: 143.2 kB / 288.7 MB, free: 488 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006251/0.01797, allocations: 1.154 MB / 289.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01797, allocations: 4.062 kB / 289.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003855/0.01835, allocations: 0.8128 MB / 290.6 MB, free: 14.15 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005932/0.01895, allocations: 307.5 kB / 290.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.02021, allocations: 1.421 MB / 292.4 MB, free: 12.37 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.02033, allocations: 152.2 kB / 292.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.02047, allocations: 85.3 kB / 292.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004615/0.02093, allocations: 322 kB / 292.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02093, allocations: 0 / 292.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of Templates: time 0.01013/0.03106, allocations: 9.634 MB / 302.5 MB, free: 2.277 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8332107537426054]