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.001547/0.001547, allocations: 112.2 kB / 21.19 MB, free: 0.7734 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.001705/0.001705, allocations: 210.1 kB / 24.5 MB, free: 4.152 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.392/1.392, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.00156/0.00156, allocations: 47.92 kB / 379 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2494, allocations: 53.36 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003544/0.2529, allocations: 1.837 MB / 434.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.2553, allocations: 0.9937 MB / 435.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.2554, allocations: 4 kB / 435.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.2556, allocations: 27.72 kB / 435.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.2557, allocations: 35.72 kB / 435.3 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.2561, allocations: 107.8 kB / 435.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005882/0.2567, allocations: 291.4 kB / 435.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.2569, allocations: 37.78 kB / 435.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000953/0.2579, allocations: 0.7447 MB / 436.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.2582, allocations: 151.4 kB / 436.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.855e-05/0.2583, allocations: 20 kB / 436.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.259e-05/0.2583, allocations: 24 kB / 436.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.2585, allocations: 139.4 kB / 436.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.2588, allocations: 238.2 kB / 437 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009384/0.2597, allocations: 0.7607 MB / 437.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2597, allocations: 4 kB / 437.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2597, allocations: 3.938 kB / 437.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.2597, allocations: 0 / 437.8 MB, free: 1.508 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.001748/0.2615, allocations: 1.113 MB / 438.9 MB, free: 320 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2615, allocations: 12.03 kB / 438.9 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.2617, allocations: 76.47 kB / 439 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000526/0.2622, allocations: 335.1 kB / 439.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.2623, allocations: 16.56 kB / 439.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.2623, allocations: 16.38 kB / 439.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/0.2629, allocations: 251.1 kB / 439.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.2629, allocations: 0 / 439.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/0.2629, allocations: 12 kB / 439.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2629, allocations: 3.984 kB / 439.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.2633, allocations: 140.1 kB / 439.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.2646, allocations: 0.6911 MB / 440.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.265, allocations: 154.4 kB / 440.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.2652, allocations: 136.7 kB / 440.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.2653, allocations: 0 / 440.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006351/0.2659, allocations: 397.9 kB / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.733e-06/0.2659, allocations: 0 / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001537/0.2674, allocations: 0.9206 MB / 442 MB, free: 13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/0.2676, allocations: 281 kB / 442.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.2691, allocations: 0.9569 MB / 443.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.2691, allocations: 37.64 kB / 443.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.2693, allocations: 134 kB / 443.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.441e-05/0.2694, allocations: 71.47 kB / 443.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.2696, allocations: 161.3 kB / 443.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2698, allocations: 330.8 kB / 444 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.2701, allocations: 132.2 kB / 444.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.2704, allocations: 163.9 kB / 444.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007557/0.2711, allocations: 0.6911 MB / 444.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.2711, allocations: 3.938 kB / 445 MB, free: 9.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001105/0.2722, allocations: 0.7449 MB / 445.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.2724, allocations: 253.7 kB / 445.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2724, allocations: 0 / 445.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.2724, allocations: 0 / 445.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.215e-05/0.2725, allocations: 15.92 kB / 446 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2725, allocations: 0 / 446 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.2727, allocations: 27.94 kB / 446 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.2729, allocations: 108.1 kB / 446.1 MB, free: 8.598 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.0007078/0.2736, allocations: 0.6161 MB / 446.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.2737, allocations: 79.53 kB / 446.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.2739, allocations: 126.9 kB / 446.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2739, allocations: 0 / 446.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2739, allocations: 0 / 446.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2739, allocations: 3.984 kB / 446.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.2759, allocations: 1.403 MB / 448.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2759, allocations: 0 / 448.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.2759, allocations: 4 kB / 448.3 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.2759, allocations: 0 / 448.3 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.404e-05/0.276, allocations: 35.97 kB / 448.4 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.276, allocations: 4 kB / 448.4 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.276, allocations: 4 kB / 448.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.2773, allocations: 0.973 MB / 449.3 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008317/0.2782, allocations: 412.9 kB / 449.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.2783, allocations: 24 kB / 449.8 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.2785, allocations: 19.98 kB / 449.8 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.2787, allocations: 59.94 kB / 449.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/0.2788, allocations: 107.9 kB / 449.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001017/0.2798, allocations: 0.686 MB / 450.6 MB, free: 3.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2798, allocations: 0 / 450.6 MB, free: 3.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004181/0.2802, allocations: 99.88 kB / 450.7 MB, free: 3.73 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.0002004/0.2804, allocations: 143.1 kB / 450.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.2815, allocations: 0.7647 MB / 451.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2815, allocations: 4.062 kB / 451.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006387/0.2821, allocations: 0.6046 MB / 452.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.2832, allocations: 281.5 kB / 452.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.2855, allocations: 1.355 MB / 453.9 MB, free: 380 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007755/0.2862, allocations: 0.9403 MB / 454.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.2864, allocations: 55.34 kB / 454.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2864, allocations: 0 / 454.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of Templates: time 0.009413/0.2958, allocations: 5.325 MB / 460.2 MB, free: 10.02 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 -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: 7.714070729212835]