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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001542/0.001542, allocations: 108 kB / 18.44 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001915/0.001915, allocations: 211.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.89 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2231, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002651/0.2257, allocations: 1.824 MB / 411.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.2277, allocations: 0.9744 MB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.2278, allocations: 4 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.228, allocations: 23.72 kB / 412.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.625e-05/0.2281, allocations: 43.66 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.2284, allocations: 91.81 kB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.2288, allocations: 319.4 kB / 413.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.2289, allocations: 49.66 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007223/0.2297, allocations: 0.7408 MB / 414 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.2298, allocations: 143.4 kB / 414.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.092e-05/0.2299, allocations: 24 kB / 414.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.41e-05/0.23, allocations: 24 kB / 414.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.2302, allocations: 143.4 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.2304, allocations: 230.3 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005872/0.231, allocations: 0.7549 MB / 415.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.231, allocations: 0 / 415.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.231, allocations: 0 / 415.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.231, allocations: 0 / 415.3 MB, free: 12.23 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.001117/0.2321, allocations: 1.166 MB / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2322, allocations: 8.031 kB / 416.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.2323, allocations: 84 kB / 416.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.2327, allocations: 388.3 kB / 416.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.2327, allocations: 16.56 kB / 416.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.2328, allocations: 16.38 kB / 417 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004875/0.2333, allocations: 254.2 kB / 417.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.2333, allocations: 3.938 kB / 417.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.2333, allocations: 12 kB / 417.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2334, allocations: 0 / 417.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002807/0.2336, allocations: 136.2 kB / 417.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.2347, allocations: 0.7465 MB / 418.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.235, allocations: 198.4 kB / 418.3 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.2353, allocations: 176.8 kB / 418.5 MB, free: 8.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.2354, allocations: 3.984 kB / 418.5 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000561/0.2359, allocations: 393.8 kB / 418.9 MB, free: 8.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 3.657e-06/0.2359, allocations: 0 / 418.9 MB, free: 8.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001387/0.2373, allocations: 0.9278 MB / 419.8 MB, free: 7.426 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.2375, allocations: 281 kB / 420.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.2387, allocations: 0.9529 MB / 421 MB, free: 6.125 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/0.2387, allocations: 33.7 kB / 421 MB, free: 6.086 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/0.2388, allocations: 130 kB / 421.2 MB, free: 5.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.289e-05/0.2389, allocations: 63.25 kB / 421.2 MB, free: 5.895 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.2391, allocations: 165.1 kB / 421.4 MB, free: 5.727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.2392, allocations: 338.8 kB / 421.7 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.2395, allocations: 120.2 kB / 421.8 MB, free: 5.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.2398, allocations: 165.2 kB / 422 MB, free: 5.098 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006851/0.2405, allocations: 0.699 MB / 422.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2405, allocations: 3.938 kB / 422.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009757/0.2415, allocations: 0.7603 MB / 423.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001467/0.2416, allocations: 241.6 kB / 423.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2416, allocations: 0 / 423.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2416, allocations: 4 kB / 423.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.787e-05/0.2417, allocations: 11.98 kB / 423.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2417, allocations: 0 / 423.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.2419, allocations: 31.98 kB / 423.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.2421, allocations: 108.1 kB / 423.9 MB, free: 3.027 MB / 334.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.0005909/0.2427, allocations: 0.6083 MB / 424.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.27e-05/0.2428, allocations: 75.16 kB / 424.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.243, allocations: 126.9 kB / 424.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.243, allocations: 4 kB / 424.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.243, allocations: 4 kB / 424.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.243, allocations: 3.984 kB / 424.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.2447, allocations: 1.433 MB / 426.1 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2447, allocations: 0 / 426.1 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.662e-05/0.2447, allocations: 4 kB / 426.1 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2447, allocations: 4 kB / 426.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.2448, allocations: 35.95 kB / 426.2 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2448, allocations: 0 / 426.2 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2448, allocations: 3.938 kB / 426.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.246, allocations: 0.9687 MB / 427.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005436/0.2465, allocations: 419.7 kB / 427.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.2466, allocations: 20 kB / 427.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.2469, allocations: 27.97 kB / 427.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.247, allocations: 51.95 kB / 427.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.2471, allocations: 115.8 kB / 427.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008881/0.248, allocations: 0.686 MB / 428.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.248, allocations: 0 / 428.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003892/0.2484, allocations: 99.88 kB / 428.5 MB, free: 14.1 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.0001759/0.2486, allocations: 147.2 kB / 428.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009619/0.2496, allocations: 0.8779 MB / 429.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2496, allocations: 0 / 429.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006508/0.2503, allocations: 0.7567 MB / 430.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.2514, allocations: 281.9 kB / 430.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.2534, allocations: 1.338 MB / 431.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.254, allocations: 0.9403 MB / 432.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.2541, allocations: 55.34 kB / 432.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2541, allocations: 4 kB / 432.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of Templates: time 0.007166/0.2613, allocations: 5.383 MB / 438.3 MB, free: 4.074 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches