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.001752/0.001752, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.002206/0.002206, allocations: 186 kB / 24.46 MB, free: 3.863 MB / 14.72 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.45/1.45, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002637/0.002637, allocations: 47.92 kB / 371.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2765, allocations: 52.18 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003206/0.2797, allocations: 1.723 MB / 425.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.2818, allocations: 0.8888 MB / 426.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.282, allocations: 4 kB / 426.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.2821, allocations: 19.78 kB / 426.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.2822, allocations: 51.64 kB / 426.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.2826, allocations: 99.83 kB / 426.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000428/0.283, allocations: 295.3 kB / 426.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.2832, allocations: 49.31 kB / 426.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000872/0.2841, allocations: 0.7446 MB / 427.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.2843, allocations: 147.4 kB / 427.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.547e-05/0.2844, allocations: 20 kB / 427.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.535e-05/0.2845, allocations: 24 kB / 427.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.2846, allocations: 139.4 kB / 428 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.2848, allocations: 170.6 kB / 428.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007823/0.2856, allocations: 0.7615 MB / 428.9 MB, free: 9.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2856, allocations: 0 / 428.9 MB, free: 9.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2856, allocations: 0 / 428.9 MB, free: 9.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.2856, allocations: 0 / 428.9 MB, free: 9.359 MB / 334.1 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.001501/0.2871, allocations: 1.124 MB / 430.1 MB, free: 8.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2872, allocations: 12.03 kB / 430.1 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.2873, allocations: 80.42 kB / 430.2 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/0.2878, allocations: 327.1 kB / 430.5 MB, free: 7.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.2878, allocations: 16.56 kB / 430.5 MB, free: 7.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.2879, allocations: 16.38 kB / 430.5 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006726/0.2885, allocations: 492.7 kB / 431 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2886, allocations: 0 / 431 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/0.2886, allocations: 7.984 kB / 431 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2886, allocations: 4 kB / 431 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/0.289, allocations: 373.8 kB / 431.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.2902, allocations: 0.6253 MB / 432 MB, free: 6.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.2907, allocations: 388.1 kB / 432.4 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004104/0.2911, allocations: 362.4 kB / 432.7 MB, free: 5.219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.2912, allocations: 7.938 kB / 432.7 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007566/0.2919, allocations: 0.6322 MB / 433.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.944e-06/0.2919, allocations: 0 / 433.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001861/0.2938, allocations: 1.392 MB / 434.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001813/0.294, allocations: 281 kB / 435 MB, free: 2.609 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.2953, allocations: 0.9569 MB / 436 MB, free: 1.645 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.2954, allocations: 33.7 kB / 436 MB, free: 1.605 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.2955, allocations: 130.1 kB / 436.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.157e-05/0.2956, allocations: 63.52 kB / 436.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.2958, allocations: 165.3 kB / 436.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2959, allocations: 342.8 kB / 436.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.2963, allocations: 361.8 kB / 437.1 MB, free: 0.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.2968, allocations: 405.5 kB / 437.5 MB, free: 44 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007994/0.2976, allocations: 0.7186 MB / 438.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2976, allocations: 0 / 438.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001268/0.2989, allocations: 1.008 MB / 439.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.299, allocations: 252 kB / 439.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.299, allocations: 4.094 kB / 439.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.2991, allocations: 4 kB / 439.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.435e-05/0.2991, allocations: 7.938 kB / 439.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.2991, allocations: 4 kB / 439.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.2993, allocations: 23.98 kB / 439.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.2995, allocations: 108.1 kB / 439.6 MB, free: 13.65 MB / 350.1 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.0006714/0.3001, allocations: 0.6161 MB / 440.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.3003, allocations: 91.41 kB / 440.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.3005, allocations: 122.9 kB / 440.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3005, allocations: 0 / 440.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.3005, allocations: 4 kB / 440.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3005, allocations: 0 / 440.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.3025, allocations: 1.559 MB / 442 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3025, allocations: 0 / 442 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.879e-05/0.3025, allocations: 7.984 kB / 442 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3025, allocations: 0 / 442 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.843e-05/0.3026, allocations: 27.98 kB / 442 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3026, allocations: 0 / 442 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3026, allocations: 4 kB / 442 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.3041, allocations: 1.221 MB / 443.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008647/0.3049, allocations: 416.9 kB / 443.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.305, allocations: 23.94 kB / 443.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.3053, allocations: 19.98 kB / 443.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.3055, allocations: 59.94 kB / 443.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.3056, allocations: 107.9 kB / 443.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001006/0.3066, allocations: 0.6821 MB / 444.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3066, allocations: 0 / 444.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004152/0.307, allocations: 99.89 kB / 444.6 MB, free: 8.297 MB / 350.1 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.00019/0.3072, allocations: 147.2 kB / 444.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.3085, allocations: 1.244 MB / 446 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.3085, allocations: 4 kB / 446 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007848/0.3093, allocations: 0.8483 MB / 446.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.3104, allocations: 282 kB / 447.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.3129, allocations: 1.585 MB / 448.7 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.3134, allocations: 348.8 kB / 449.1 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.3136, allocations: 55.34 kB / 449.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3136, allocations: 0 / 449.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of Templates: time 0.009371/0.3229, allocations: 5.367 MB / 454.5 MB, free: 13.98 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.084718077909201]