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.001454/0.001453, allocations: 112.8 kB / 17.07 MB, free: 5.973 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.001609/0.00161, allocations: 200 kB / 18 MB, free: 5.059 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.372/1.372, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 51.94 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.303, allocations: 49.43 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002655/0.3057, allocations: 1.814 MB / 402.5 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.3075, allocations: 0.9433 MB / 403.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.953e-05/0.3076, allocations: 4 kB / 403.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.3078, allocations: 23.73 kB / 403.5 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.37e-05/0.3079, allocations: 43.64 kB / 403.6 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.3082, allocations: 99.77 kB / 403.6 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.3086, allocations: 311.4 kB / 404 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.3088, allocations: 61.59 kB / 404 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006475/0.3094, allocations: 0.7369 MB / 404.8 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.3096, allocations: 147.4 kB / 404.9 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.82e-05/0.3097, allocations: 20 kB / 404.9 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.396e-05/0.3098, allocations: 20 kB / 404.9 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.3099, allocations: 139.4 kB / 405.1 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.3102, allocations: 238.3 kB / 405.3 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006933/0.3109, allocations: 0.7564 MB / 406.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.3109, allocations: 7.938 kB / 406.1 MB, free: 3.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3109, allocations: 0 / 406.1 MB, free: 3.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.3109, allocations: 0 / 406.1 MB, free: 3.52 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.001294/0.3122, allocations: 1.157 MB / 407.2 MB, free: 2.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3123, allocations: 8.031 kB / 407.2 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.3124, allocations: 80 kB / 407.3 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.3128, allocations: 396.2 kB / 407.7 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.3129, allocations: 8.562 kB / 407.7 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/0.3129, allocations: 24.36 kB / 407.7 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/0.3135, allocations: 255.8 kB / 408 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3135, allocations: 0 / 408 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/0.3136, allocations: 11.98 kB / 408 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3136, allocations: 4 kB / 408 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.3139, allocations: 132.2 kB / 408.1 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.315, allocations: 0.7387 MB / 408.9 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.3154, allocations: 206.4 kB / 409.1 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.3157, allocations: 176.9 kB / 409.2 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.3157, allocations: 7.938 kB / 409.2 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005744/0.3163, allocations: 389.9 kB / 409.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.593e-06/0.3163, allocations: 0 / 409.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001385/0.3177, allocations: 0.92 MB / 410.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.3179, allocations: 285 kB / 410.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.3192, allocations: 0.9529 MB / 411.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.3192, allocations: 33.7 kB / 411.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.3193, allocations: 138 kB / 411.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/0.3194, allocations: 59.25 kB / 412 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.3196, allocations: 161.1 kB / 412.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3198, allocations: 330.8 kB / 412.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.32, allocations: 132.2 kB / 412.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.3203, allocations: 168.6 kB / 412.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/0.321, allocations: 0.6951 MB / 413.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.321, allocations: 7.875 kB / 413.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001006/0.322, allocations: 0.7565 MB / 414.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.3222, allocations: 241.6 kB / 414.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3222, allocations: 0 / 414.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3222, allocations: 4 kB / 414.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.649e-05/0.3223, allocations: 4 kB / 414.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3223, allocations: 7.938 kB / 414.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.3225, allocations: 27.89 kB / 414.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.3227, allocations: 108.1 kB / 414.6 MB, free: 10.34 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.3232, allocations: 0.6123 MB / 415.2 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.573e-05/0.3234, allocations: 79.14 kB / 415.3 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.3235, allocations: 134.9 kB / 415.4 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3236, allocations: 0 / 415.4 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3236, allocations: 0 / 415.4 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3236, allocations: 0 / 415.4 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.3254, allocations: 1.437 MB / 416.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3254, allocations: 0 / 416.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.649e-05/0.3254, allocations: 4 kB / 416.9 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.3254, allocations: 0 / 416.9 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/0.3255, allocations: 31.98 kB / 416.9 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3255, allocations: 0 / 416.9 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3255, allocations: 0 / 416.9 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.3268, allocations: 0.9726 MB / 417.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005729/0.3274, allocations: 415.8 kB / 418.3 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.3275, allocations: 20 kB / 418.3 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.3277, allocations: 23.98 kB / 418.3 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.3279, allocations: 59.94 kB / 418.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.328, allocations: 103.9 kB / 418.5 MB, free: 6.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008576/0.3289, allocations: 0.6976 MB / 419.2 MB, free: 5.508 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.3289, allocations: 0 / 419.2 MB, free: 5.508 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003816/0.3293, allocations: 107.7 kB / 419.3 MB, free: 5.402 MB / 334.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.0001899/0.3294, allocations: 147.2 kB / 419.4 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009948/0.3304, allocations: 0.8858 MB / 420.3 MB, free: 4.262 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3305, allocations: 0 / 420.3 MB, free: 4.262 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006421/0.3311, allocations: 0.7569 MB / 421.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.3322, allocations: 278 kB / 421.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.3342, allocations: 1.262 MB / 422.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006239/0.3348, allocations: 0.9481 MB / 423.6 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002077/0.335, allocations: 89.34 kB / 423.7 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.3351, allocations: 47.36 kB / 423.7 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3351, allocations: 0 / 423.7 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of Templates: time 0.01534/0.3505, allocations: 9.498 MB / 433.2 MB, free: 7.324 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins/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