Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 163.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9416/0.9416, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.68e-05, allocations: 2.312 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002002/0.002019, allocations: 1.779 MB / 275.9 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.003544, allocations: 0.9488 MB / 276.8 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.562e-05/0.00362, allocations: 4 kB / 276.8 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.003745, allocations: 23.72 kB / 276.9 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.394e-05/0.003819, allocations: 44.44 kB / 276.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.004126, allocations: 108.4 kB / 277 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.004404, allocations: 293.7 kB / 277.3 MB, free: 1.094 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.004496, allocations: 37.77 kB / 277.3 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005779/0.005074, allocations: 0.7876 MB / 278.1 MB, free: 272 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.00522, allocations: 135.5 kB / 278.3 MB, free: 136 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/0.005265, allocations: 20 kB / 278.3 MB, free: 116 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.926e-05/0.005304, allocations: 20 kB / 278.3 MB, free: 96 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.005422, allocations: 143.5 kB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.005526, allocations: 113.3 kB / 278.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004117/0.005938, allocations: 0.5721 MB / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.00594, allocations: 0 / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005941, allocations: 0 / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.005946, allocations: 0 / 279.1 MB, free: 15.27 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.001036/0.006983, allocations: 1.271 MB / 280.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.007016, allocations: 8.625 kB / 280.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.007151, allocations: 101.1 kB / 280.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.007489, allocations: 341.1 kB / 280.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.007518, allocations: 20.55 kB / 280.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.007558, allocations: 20.38 kB / 280.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.008036, allocations: 453.3 kB / 281.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.008044, allocations: 4 kB / 281.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.008073, allocations: 7.938 kB / 281.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.00808, allocations: 4 kB / 281.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.008319, allocations: 325.8 kB / 281.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009104/0.009229, allocations: 0.6212 MB / 282.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.009517, allocations: 364.5 kB / 282.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.009743, allocations: 325.2 kB / 282.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.009753, allocations: 4 kB / 282.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004016/0.01015, allocations: 0.5676 MB / 283.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.754e-06/0.01016, allocations: 0 / 283.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001158/0.01131, allocations: 1.311 MB / 284.8 MB, free: 8.953 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.01144, allocations: 285 kB / 285.1 MB, free: 8.613 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.01255, allocations: 0.8852 MB / 286 MB, free: 7.715 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.01259, allocations: 37.7 kB / 286 MB, free: 7.672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.0127, allocations: 176.8 kB / 286.2 MB, free: 7.492 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.428e-05/0.01277, allocations: 71.45 kB / 286.3 MB, free: 7.422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.01295, allocations: 163 kB / 286.4 MB, free: 7.254 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.01311, allocations: 0.5118 MB / 286.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.01334, allocations: 309.8 kB / 287.2 MB, free: 6.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.01358, allocations: 368.8 kB / 287.6 MB, free: 5.953 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004412/0.01403, allocations: 0.6468 MB / 288.2 MB, free: 5.188 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01403, allocations: 0 / 288.2 MB, free: 5.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008355/0.01486, allocations: 0.9229 MB / 289.2 MB, free: 4.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.01499, allocations: 249.6 kB / 289.4 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.015, allocations: 0 / 289.4 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.01501, allocations: 3.938 kB / 289.4 MB, free: 3.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.668e-05/0.01503, allocations: 8 kB / 289.4 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.01504, allocations: 4.094 kB / 289.4 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.01522, allocations: 31.94 kB / 289.5 MB, free: 3.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.01533, allocations: 104.1 kB / 289.6 MB, free: 3.719 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.0005502/0.01588, allocations: 0.615 MB / 290.2 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.016, allocations: 99.53 kB / 290.3 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.01618, allocations: 110.9 kB / 290.4 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.01619, allocations: 3.938 kB / 290.4 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.01619, allocations: 0 / 290.4 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.01619, allocations: 0 / 290.4 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.01764, allocations: 1.489 MB / 291.9 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01764, allocations: 0 / 291.9 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.539e-05/0.01766, allocations: 7.938 kB / 291.9 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01766, allocations: 4 kB / 291.9 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.372e-05/0.01771, allocations: 39.84 kB / 291.9 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01771, allocations: 0 / 291.9 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.01771, allocations: 4 kB / 291.9 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/0.01871, allocations: 1.198 MB / 293.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006051/0.01931, allocations: 376.9 kB / 293.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-05/0.0194, allocations: 31.94 kB / 293.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.01958, allocations: 19.98 kB / 293.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.01969, allocations: 47.95 kB / 293.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.01979, allocations: 107.9 kB / 293.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005309/0.02032, allocations: 490.5 kB / 294.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.02033, allocations: 4 kB / 294.2 MB, free: 14.78 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003679/0.02069, allocations: 84 kB / 294.3 MB, free: 14.7 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.0001647/0.02086, allocations: 147.2 kB / 294.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007732/0.02163, allocations: 1.155 MB / 295.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.02163, allocations: 4 kB / 295.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004756/0.02211, allocations: 0.8167 MB / 296.4 MB, free: 12.22 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008227/0.02293, allocations: 295.3 kB / 296.7 MB, free: 11.97 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.02464, allocations: 1.437 MB / 298.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.02479, allocations: 152 kB / 298.3 MB, free: 10.28 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002075/0.025, allocations: 85.28 kB / 298.3 MB, free: 10.19 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006071/0.02561, allocations: 322 kB / 298.7 MB, free: 9.875 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02561, allocations: 0 / 298.7 MB, free: 9.875 MB / 282.7 MB Notification: Performance of Templates: time 0.01295/0.03856, allocations: 9.787 MB / 308.4 MB, free: 188 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.9380836761556566]