Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 110.5 kB / 17.75 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 183 kB / 18.68 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001125, allocations: 47.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2705, allocations: 49.43 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003098/0.2736, allocations: 1.822 MB / 403.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.2759, allocations: 0.9393 MB / 404.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.276, allocations: 4 kB / 404.2 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.2762, allocations: 23.78 kB / 404.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.2763, allocations: 39.66 kB / 404.2 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.2767, allocations: 103.8 kB / 404.3 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.2771, allocations: 319.4 kB / 404.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.2773, allocations: 57.59 kB / 404.7 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007801/0.278, allocations: 0.7407 MB / 405.4 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.2783, allocations: 139.5 kB / 405.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.416e-05/0.2784, allocations: 20 kB / 405.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.239e-05/0.2785, allocations: 20 kB / 405.6 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.2786, allocations: 147.4 kB / 405.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.2788, allocations: 238.3 kB / 406 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006959/0.2796, allocations: 0.7505 MB / 406.7 MB, free: 3.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.2796, allocations: 4 kB / 406.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2796, allocations: 3.938 kB / 406.8 MB, free: 3.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.2796, allocations: 0 / 406.8 MB, free: 3.492 MB / 318.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.001362/0.281, allocations: 1.188 MB / 407.9 MB, free: 2.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.281, allocations: 8.031 kB / 408 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.2811, allocations: 80.47 kB / 408 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.2816, allocations: 400.9 kB / 408.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.2816, allocations: 16.56 kB / 408.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.2817, allocations: 16.38 kB / 408.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.2822, allocations: 250.2 kB / 408.7 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.2822, allocations: 0 / 408.7 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.2823, allocations: 12 kB / 408.7 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.2823, allocations: 8 kB / 408.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.2826, allocations: 136.1 kB / 408.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.2837, allocations: 0.7427 MB / 409.6 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.2841, allocations: 202.4 kB / 409.8 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.2843, allocations: 172.8 kB / 410 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.2844, allocations: 4 kB / 410 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005659/0.2849, allocations: 389.8 kB / 410.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.943e-06/0.285, allocations: 0 / 410.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001449/0.2864, allocations: 0.9244 MB / 411.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.2866, allocations: 285 kB / 411.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.2878, allocations: 0.9452 MB / 412.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.2878, allocations: 41.64 kB / 412.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.2879, allocations: 130.1 kB / 412.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.475e-05/0.288, allocations: 67.52 kB / 412.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.2882, allocations: 165.3 kB / 412.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2884, allocations: 334.8 kB / 413.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.2886, allocations: 124.2 kB / 413.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.2889, allocations: 164.7 kB / 413.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006936/0.2896, allocations: 0.7068 MB / 414.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2896, allocations: 0 / 414.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001058/0.2907, allocations: 0.7596 MB / 415 MB, free: 10.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.2909, allocations: 248.9 kB / 415.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2909, allocations: 0 / 415.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2909, allocations: 4 kB / 415.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.835e-05/0.291, allocations: 16.02 kB / 415.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.291, allocations: 3.938 kB / 415.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.2912, allocations: 23.98 kB / 415.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.2913, allocations: 104.2 kB / 415.4 MB, free: 10.27 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.0005917/0.2919, allocations: 0.6162 MB / 416 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.243e-05/0.292, allocations: 79.53 kB / 416 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.2922, allocations: 130.9 kB / 416.2 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2922, allocations: 7.938 kB / 416.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2922, allocations: 0 / 416.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005474/0.2928, allocations: 420.2 kB / 416.6 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.2929, allocations: 20 kB / 416.6 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.2931, allocations: 27.98 kB / 416.6 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.2933, allocations: 71.8 kB / 416.7 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00134/0.2946, allocations: 1.31 MB / 418 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001235/0.2959, allocations: 1.043 MB / 419.1 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003863/0.2963, allocations: 303.8 kB / 419.4 MB, free: 5.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008999/0.2972, allocations: 0.6899 MB / 420.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of Backend: time 6.51e-07/0.2972, allocations: 0 / 420.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.2983, allocations: 0.8295 MB / 420.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of SimCode: time 0.002456/0.3007, allocations: 2.19 MB / 423.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of Templates: time 0.01343/0.3142, allocations: 8.553 MB / 431.6 MB, free: 9.461 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches