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.001626/0.001626, allocations: 83.58 kB / 21.18 MB, free: 3.387 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.001761/0.001761, allocations: 161 kB / 24.56 MB, free: 20 kB / 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 1.039/1.039, allocations: 177.1 MB / 205 MB, free: 5.629 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 2.114e-06/2.114e-06, allocations: 0 / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.203e-05, allocations: 2.312 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.0025/0.002532, allocations: 1.801 MB / 274.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.004529, allocations: 0.9509 MB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.00465, allocations: 4 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.004822, allocations: 31.72 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.059e-05/0.004913, allocations: 35.72 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.005341, allocations: 111.7 kB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.005685, allocations: 291.3 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.005809, allocations: 37.77 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006571/0.006466, allocations: 0.7876 MB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.006656, allocations: 131.6 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.051e-05/0.006707, allocations: 20 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.265e-05/0.00675, allocations: 20 kB / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.006869, allocations: 143.4 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.006989, allocations: 123.4 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005074/0.007496, allocations: 0.5644 MB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.0075, allocations: 3.938 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.007502, allocations: 0 / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.007513, allocations: 0 / 278 MB, free: 12.5 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.001222/0.008735, allocations: 1.271 MB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.008777, allocations: 8.031 kB / 279.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.008904, allocations: 96.47 kB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.009272, allocations: 345.1 kB / 279.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.009308, allocations: 12.56 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.009346, allocations: 20.38 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/0.00984, allocations: 482.1 kB / 280.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.009851, allocations: 0 / 280.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.009877, allocations: 12 kB / 280.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.009885, allocations: 0 / 280.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.01012, allocations: 349.7 kB / 280.6 MB, free: 9.703 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.01114, allocations: 0.7962 MB / 281.4 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.01146, allocations: 376.5 kB / 281.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.01168, allocations: 349.2 kB / 282.1 MB, free: 8.047 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.01169, allocations: 8 kB / 282.1 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003825/0.01207, allocations: 0.5949 MB / 282.7 MB, free: 7.355 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.053e-06/0.01208, allocations: 0 / 282.7 MB, free: 7.355 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001077/0.01315, allocations: 1.365 MB / 284 MB, free: 5.836 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.01326, allocations: 289 kB / 284.3 MB, free: 5.492 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.01435, allocations: 1.112 MB / 285.4 MB, free: 4.363 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.01439, allocations: 33.7 kB / 285.5 MB, free: 4.324 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.601e-05/0.01448, allocations: 184.7 kB / 285.6 MB, free: 4.137 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.01454, allocations: 67.53 kB / 285.7 MB, free: 4.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.01469, allocations: 163 kB / 285.9 MB, free: 3.902 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.01484, allocations: 0.5079 MB / 286.4 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.01508, allocations: 341.8 kB / 286.7 MB, free: 3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.0153, allocations: 380.8 kB / 287.1 MB, free: 2.562 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.0157, allocations: 0.6664 MB / 287.8 MB, free: 1.777 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01571, allocations: 4 kB / 287.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007456/0.01645, allocations: 0.966 MB / 288.7 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.01658, allocations: 253.5 kB / 289 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.01658, allocations: 0 / 289 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.0166, allocations: 4 kB / 289 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.138e-05/0.01663, allocations: 4 kB / 289 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.01664, allocations: 7.984 kB / 289 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.01682, allocations: 19.95 kB / 289 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.849e-05/0.01691, allocations: 120.2 kB / 289.1 MB, free: 260 kB / 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.0004674/0.01737, allocations: 0.6189 MB / 289.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.851e-05/0.01746, allocations: 99.52 kB / 289.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.01759, allocations: 106.8 kB / 289.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.0176, allocations: 4 kB / 289.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.01761, allocations: 0 / 289.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01761, allocations: 0 / 289.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.019, allocations: 1.679 MB / 291.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.019, allocations: 0 / 291.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.559e-05/0.01901, allocations: 19.86 kB / 291.6 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01902, allocations: 0 / 291.6 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.01905, allocations: 31.98 kB / 291.7 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01905, allocations: 4 kB / 291.7 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.01906, allocations: 0 / 291.7 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008746/0.01993, allocations: 1.245 MB / 292.9 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000447/0.02038, allocations: 376.9 kB / 293.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.02044, allocations: 20 kB / 293.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.02056, allocations: 23.98 kB / 293.3 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.0207, allocations: 59.94 kB / 293.4 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-05/0.02079, allocations: 115.9 kB / 293.5 MB, free: 11.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007321/0.02152, allocations: 0.7249 MB / 294.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02152, allocations: 0 / 294.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000325/0.02184, allocations: 95.94 kB / 294.3 MB, free: 10.72 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.0001727/0.02202, allocations: 143.2 kB / 294.5 MB, free: 10.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007782/0.02279, allocations: 1.197 MB / 295.7 MB, free: 9.172 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.0228, allocations: 8.188 kB / 295.7 MB, free: 9.164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004371/0.02323, allocations: 0.8402 MB / 296.5 MB, free: 8.172 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006507/0.02388, allocations: 294.9 kB / 296.8 MB, free: 7.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.02529, allocations: 1.472 MB / 298.3 MB, free: 6.352 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.02541, allocations: 144.2 kB / 298.4 MB, free: 6.191 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001779/0.02558, allocations: 93.27 kB / 298.5 MB, free: 6.098 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.946e-05/0.02566, allocations: 52.44 kB / 298.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of SimCode: time 1.403e-06/0.02567, allocations: 0 / 298.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of Templates: time 0.1234/0.1491, allocations: 10.29 MB / 308.8 MB, free: 41.22 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: 3.275671306066215]