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.001409/0.001409, allocations: 107 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002471/0.002471, allocations: 209.2 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.897/1.897, allocations: 230.6 MB / 258.2 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001954/0.001954, allocations: 51.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3063, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.004327/0.3106, allocations: 1.74 MB / 434.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.3138, allocations: 0.9277 MB / 435 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.314, allocations: 0 / 435 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.3142, allocations: 27.72 kB / 435 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.3144, allocations: 43.7 kB / 435.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.3149, allocations: 103.8 kB / 435.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005808/0.3154, allocations: 295.3 kB / 435.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.3156, allocations: 36.75 kB / 435.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.3167, allocations: 0.7448 MB / 436.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.317, allocations: 159.3 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.3172, allocations: 20 kB / 436.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.3173, allocations: 20 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.3175, allocations: 143.4 kB / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.3178, allocations: 166.7 kB / 436.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.3188, allocations: 0.7661 MB / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3188, allocations: 0 / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3188, allocations: 0 / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.116e-05/0.3189, allocations: 0 / 437.5 MB, free: 1.535 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.00218/0.321, allocations: 1.12 MB / 438.6 MB, free: 340 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.3211, allocations: 8.031 kB / 438.6 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.3213, allocations: 84.47 kB / 438.7 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006243/0.3219, allocations: 331.2 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.322, allocations: 12.56 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.24e-05/0.322, allocations: 20.38 kB / 439.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008563/0.3229, allocations: 487.1 kB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3229, allocations: 4 kB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/0.3229, allocations: 12 kB / 439.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.323, allocations: 4 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006019/0.3236, allocations: 377.7 kB / 439.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.3251, allocations: 0.6214 MB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/0.3258, allocations: 388.1 kB / 440.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005369/0.3263, allocations: 366.4 kB / 441.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.3263, allocations: 7.922 kB / 441.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.3273, allocations: 0.6245 MB / 441.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 3.116e-06/0.3273, allocations: 0 / 441.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002542/0.3299, allocations: 1.4 MB / 443.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002257/0.3301, allocations: 285 kB / 443.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.332, allocations: 0.9452 MB / 444.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.311e-05/0.3321, allocations: 37.7 kB / 444.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.3322, allocations: 134 kB / 444.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.3323, allocations: 63.55 kB / 444.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/0.3326, allocations: 169.3 kB / 444.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3328, allocations: 334.8 kB / 445.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005402/0.3333, allocations: 365.8 kB / 445.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005482/0.3339, allocations: 405.5 kB / 446 MB, free: 8.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009633/0.3348, allocations: 0.7107 MB / 446.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3349, allocations: 0 / 446.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001748/0.3366, allocations: 1.004 MB / 447.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002369/0.3368, allocations: 245.6 kB / 448 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.3368, allocations: 0 / 448 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.364e-05/0.3369, allocations: 8.094 kB / 448 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.337, allocations: 8 kB / 448 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.337, allocations: 7.922 kB / 448 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004301/0.3374, allocations: 31.92 kB / 448 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/0.3376, allocations: 104.2 kB / 448.1 MB, free: 5.828 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.0009745/0.3385, allocations: 0.6085 MB / 448.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.3387, allocations: 83.47 kB / 448.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.339, allocations: 134.8 kB / 449 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.339, allocations: 0 / 449 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.339, allocations: 4 kB / 449 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.339, allocations: 7.922 kB / 449 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/0.3416, allocations: 1.567 MB / 450.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3416, allocations: 0 / 450.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.3416, allocations: 4 kB / 450.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.3416, allocations: 4 kB / 450.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.006e-05/0.3417, allocations: 27.98 kB / 450.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3417, allocations: 0 / 450.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3417, allocations: 0 / 450.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.3436, allocations: 1.221 MB / 451.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.3447, allocations: 404.9 kB / 452.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.3448, allocations: 24 kB / 452.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.3451, allocations: 23.98 kB / 452.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.3453, allocations: 51.94 kB / 452.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/0.3455, allocations: 119.8 kB / 452.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001277/0.3468, allocations: 0.6899 MB / 453.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3468, allocations: 0 / 453.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005672/0.3474, allocations: 95.94 kB / 453.2 MB, free: 472 kB / 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.000235/0.3476, allocations: 147.2 kB / 453.3 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.3493, allocations: 1.25 MB / 454.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3493, allocations: 0 / 454.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00092/0.3502, allocations: 0.8405 MB / 455.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.3516, allocations: 274.7 kB / 455.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/0.3545, allocations: 1.528 MB / 457.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006204/0.3551, allocations: 349.1 kB / 457.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002875/0.3554, allocations: 89.28 kB / 457.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.3556, allocations: 51.36 kB / 457.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3556, allocations: 0 / 457.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of Templates: time 0.0208/0.3764, allocations: 10.47 MB / 468.2 MB, free: 1.176 MB / 366.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins1/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: 6.246491154000978]