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.0008995/0.0008995, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001/0.001, allocations: 160.3 kB / 24.91 MB, free: 8.695 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.9527/0.9527, allocations: 177 MB / 205.2 MB, free: 5.434 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.864e-06/1.864e-06, allocations: 0 / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.662e-05, allocations: 2.312 kB / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003224/0.003251, allocations: 1.788 MB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.005544, allocations: 0.9625 MB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.005645, allocations: 0 / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.005814, allocations: 31.72 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.005937, allocations: 43.59 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/0.006366, allocations: 103.7 kB / 276.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.006778, allocations: 291.3 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.006903, allocations: 38.42 kB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008676/0.00777, allocations: 0.7292 MB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.008007, allocations: 143.5 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.395e-05/0.008071, allocations: 20 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.824e-05/0.008119, allocations: 20 kB / 277.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.008262, allocations: 139.4 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.008431, allocations: 111.5 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006301/0.009061, allocations: 0.5721 MB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.009065, allocations: 0 / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.009067, allocations: 0 / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.00908, allocations: 0 / 278.3 MB, free: 12.21 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.001477/0.01056, allocations: 1.06 MB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.0106, allocations: 15.98 kB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.01074, allocations: 60.88 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.01111, allocations: 338.3 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.01115, allocations: 12.56 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.01119, allocations: 20.38 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000535/0.01173, allocations: 437.8 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.01174, allocations: 0 / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.01177, allocations: 8 kB / 280.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.01178, allocations: 4 kB / 280.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.01205, allocations: 309.8 kB / 280.6 MB, free: 9.758 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009165/0.01297, allocations: 407.7 kB / 281 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.01329, allocations: 332.1 kB / 281.3 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.01353, allocations: 310.4 kB / 281.6 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.01354, allocations: 4 kB / 281.6 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004589/0.014, allocations: 0.5581 MB / 282.2 MB, free: 7.957 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.835e-06/0.014, allocations: 0 / 282.2 MB, free: 7.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009053/0.01491, allocations: 1.015 MB / 283.2 MB, free: 6.789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.01503, allocations: 285 kB / 283.5 MB, free: 6.449 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000872/0.01591, allocations: 0.6245 MB / 284.1 MB, free: 5.816 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/0.01595, allocations: 37.7 kB / 284.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.01602, allocations: 114 kB / 284.2 MB, free: 5.656 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.657e-05/0.01609, allocations: 67.5 kB / 284.3 MB, free: 5.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.01628, allocations: 137.3 kB / 284.4 MB, free: 5.449 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.01639, allocations: 338.8 kB / 284.8 MB, free: 5.109 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.01663, allocations: 297.8 kB / 285.1 MB, free: 4.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.01687, allocations: 345.5 kB / 285.4 MB, free: 4.371 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006942/0.01757, allocations: 0.6345 MB / 286 MB, free: 3.621 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.01757, allocations: 0 / 286 MB, free: 3.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005746/0.01814, allocations: 0.6802 MB / 286.7 MB, free: 2.836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.01828, allocations: 245.6 kB / 286.9 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.01829, allocations: 4.094 kB / 287 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.01831, allocations: 7.938 kB / 287 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.139e-05/0.01834, allocations: 7.938 kB / 287 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.01834, allocations: 4 kB / 287 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.01855, allocations: 23.94 kB / 287 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.01867, allocations: 100.1 kB / 287.1 MB, free: 2.402 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.0006287/0.0193, allocations: 0.5643 MB / 287.7 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.01941, allocations: 75.88 kB / 287.7 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.01962, allocations: 110.9 kB / 287.8 MB, free: 1.594 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01962, allocations: 7.938 kB / 287.8 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01963, allocations: 0 / 287.8 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01963, allocations: 0 / 287.8 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.02071, allocations: 1.06 MB / 288.9 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.02071, allocations: 0 / 288.9 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.509e-05/0.02073, allocations: 7.938 kB / 288.9 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.02073, allocations: 0 / 288.9 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-05/0.02077, allocations: 19.98 kB / 288.9 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.02077, allocations: 3.938 kB / 288.9 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.02078, allocations: 0 / 288.9 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007023/0.02148, allocations: 0.8502 MB / 289.8 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005351/0.02201, allocations: 273.2 kB / 290.1 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.02212, allocations: 27.98 kB / 290.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.02232, allocations: 27.84 kB / 290.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.02245, allocations: 47.94 kB / 290.2 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.02256, allocations: 91.92 kB / 290.2 MB, free: 14.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004668/0.02302, allocations: 308.4 kB / 290.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02302, allocations: 3.938 kB / 290.6 MB, free: 14.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004263/0.02345, allocations: 95.94 kB / 290.6 MB, free: 14.54 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.0002022/0.02365, allocations: 132.3 kB / 290.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008559/0.02451, allocations: 1.124 MB / 291.9 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.02452, allocations: 8 kB / 291.9 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007738/0.02529, allocations: 0.7973 MB / 292.7 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008638/0.02615, allocations: 284.2 kB / 293 MB, free: 11.87 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.02822, allocations: 1.426 MB / 294.4 MB, free: 10.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.02838, allocations: 148.2 kB / 294.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002276/0.02861, allocations: 85.28 kB / 294.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007309/0.02934, allocations: 285.1 kB / 294.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of SimCode: time 1.472e-06/0.02934, allocations: 4 kB / 294.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of Templates: time 0.01512/0.04446, allocations: 9.414 MB / 304.3 MB, free: 496 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.7461829320527613]