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.001431/0.001431, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2733, allocations: 50.55 MB / 409.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002903/0.2762, allocations: 1.821 MB / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.2783, allocations: 0.9744 MB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.214e-05/0.2784, allocations: 0 / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.2786, allocations: 27.72 kB / 412.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.105e-05/0.2787, allocations: 39.72 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.279, allocations: 91.81 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.2794, allocations: 311.4 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.2795, allocations: 53.59 kB / 413.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007632/0.2803, allocations: 0.7447 MB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.2805, allocations: 147.4 kB / 414.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.537e-05/0.2806, allocations: 20 kB / 414.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.72e-05/0.2806, allocations: 20 kB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.2808, allocations: 143.4 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.281, allocations: 242.2 kB / 414.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006064/0.2816, allocations: 0.7472 MB / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.2817, allocations: 0 / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2817, allocations: 0 / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.2817, allocations: 0 / 415.3 MB, free: 12.18 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.001114/0.2828, allocations: 1.162 MB / 416.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2828, allocations: 19.97 kB / 416.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.283, allocations: 76 kB / 416.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.2834, allocations: 388.3 kB / 416.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.2834, allocations: 12.56 kB / 417 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.2835, allocations: 16.38 kB / 417 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.284, allocations: 266.2 kB / 417.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.284, allocations: 0 / 417.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.149e-05/0.284, allocations: 8 kB / 417.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.2841, allocations: 4 kB / 417.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.2844, allocations: 136.2 kB / 417.4 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.2855, allocations: 0.7309 MB / 418.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.2859, allocations: 206.4 kB / 418.3 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.2862, allocations: 176.8 kB / 418.5 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.2862, allocations: 4 kB / 418.5 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005788/0.2868, allocations: 397.8 kB / 418.9 MB, free: 8.359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.813e-06/0.2868, allocations: 0 / 418.9 MB, free: 8.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001447/0.2882, allocations: 0.92 MB / 419.8 MB, free: 7.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/0.2884, allocations: 281 kB / 420.1 MB, free: 7.047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.2896, allocations: 0.953 MB / 421 MB, free: 6.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.2896, allocations: 33.7 kB / 421.1 MB, free: 6.043 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/0.2897, allocations: 130 kB / 421.2 MB, free: 5.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.348e-05/0.2898, allocations: 67.19 kB / 421.2 MB, free: 5.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.29, allocations: 161.1 kB / 421.4 MB, free: 5.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2901, allocations: 334.8 kB / 421.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.2904, allocations: 128.2 kB / 421.9 MB, free: 5.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.2907, allocations: 157.3 kB / 422 MB, free: 5.059 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006468/0.2913, allocations: 0.7028 MB / 422.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2913, allocations: 0 / 422.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001018/0.2924, allocations: 0.7603 MB / 423.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.2925, allocations: 241.6 kB / 423.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2926, allocations: 7.938 kB / 423.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2926, allocations: 0 / 423.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.513e-05/0.2926, allocations: 8 kB / 423.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.2926, allocations: 4 kB / 423.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.2929, allocations: 31.97 kB / 423.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.293, allocations: 108.2 kB / 423.9 MB, free: 2.984 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.0005795/0.2936, allocations: 0.6161 MB / 424.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.289e-05/0.2937, allocations: 75.16 kB / 424.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.2939, allocations: 134.8 kB / 424.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2939, allocations: 0 / 424.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2939, allocations: 0 / 424.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005896/0.2945, allocations: 423.6 kB / 425.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.563e-05/0.2946, allocations: 23.94 kB / 425.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.2948, allocations: 23.98 kB / 425.1 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.295, allocations: 56 kB / 425.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001313/0.2963, allocations: 1.322 MB / 426.5 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001255/0.2975, allocations: 1.038 MB / 427.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003917/0.298, allocations: 303.9 kB / 427.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008706/0.2988, allocations: 0.6938 MB / 428.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of Backend: time 5.11e-07/0.2988, allocations: 0 / 428.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.2999, allocations: 0.8256 MB / 429.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of SimCode: time 0.002374/0.3023, allocations: 2.157 MB / 431.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Templates: time 0.012/0.3143, allocations: 8.57 MB / 440.1 MB, free: 2.188 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