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.001346/0.001346, allocations: 108.2 kB / 17.75 MB, free: 5.199 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.001463/0.001463, allocations: 192.2 kB / 18.68 MB, free: 4.277 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.32/1.32, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 51.91 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2433, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002681/0.246, allocations: 1.819 MB / 403.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.2479, allocations: 0.9355 MB / 404.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.248, allocations: 0 / 404.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.2481, allocations: 31.73 kB / 404.2 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.769e-05/0.2482, allocations: 43.64 kB / 404.2 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.2485, allocations: 95.83 kB / 404.3 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.2489, allocations: 323.3 kB / 404.7 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.249, allocations: 49.61 kB / 404.7 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006642/0.2497, allocations: 0.7369 MB / 405.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.2499, allocations: 151.4 kB / 405.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.174e-05/0.25, allocations: 20 kB / 405.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.639e-05/0.2501, allocations: 24 kB / 405.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.2502, allocations: 139.4 kB / 405.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.2504, allocations: 238.2 kB / 406 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005739/0.251, allocations: 0.7525 MB / 406.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.251, allocations: 0 / 406.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.251, allocations: 0 / 406.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.251, allocations: 0 / 406.8 MB, free: 3.523 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.001055/0.2521, allocations: 1.175 MB / 407.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.2521, allocations: 8.031 kB / 407.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.2522, allocations: 80 kB / 408 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.2527, allocations: 396.2 kB / 408.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.2527, allocations: 16.56 kB / 408.4 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.2527, allocations: 12.38 kB / 408.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.2533, allocations: 254.2 kB / 408.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2533, allocations: 0 / 408.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.2533, allocations: 12 kB / 408.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2534, allocations: 0 / 408.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.2536, allocations: 144.2 kB / 408.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.2547, allocations: 0.727 MB / 409.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.2551, allocations: 202.4 kB / 409.8 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.2553, allocations: 172.9 kB / 409.9 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.2554, allocations: 8 kB / 409.9 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005135/0.2559, allocations: 393.9 kB / 410.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.723e-06/0.2559, allocations: 0 / 410.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.00137/0.2573, allocations: 0.9239 MB / 411.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.2574, allocations: 281 kB / 411.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.2585, allocations: 0.953 MB / 412.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.2586, allocations: 33.7 kB / 412.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/0.2586, allocations: 134 kB / 412.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.731e-05/0.2587, allocations: 63.27 kB / 412.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.2589, allocations: 157.1 kB / 412.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.259, allocations: 338.8 kB / 413.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.2593, allocations: 128.1 kB / 413.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.2596, allocations: 164.6 kB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006888/0.2603, allocations: 0.699 MB / 414.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2603, allocations: 7.938 kB / 414.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00145/0.2617, allocations: 0.7525 MB / 414.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.2619, allocations: 241.6 kB / 415.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2619, allocations: 4 kB / 415.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2619, allocations: 0 / 415.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.323e-05/0.2619, allocations: 12 kB / 415.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.262, allocations: 4.094 kB / 415.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.2622, allocations: 23.89 kB / 415.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.2623, allocations: 112.1 kB / 415.3 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.0007319/0.263, allocations: 0.6201 MB / 415.9 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.251e-05/0.2632, allocations: 75.16 kB / 416 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.2633, allocations: 130.9 kB / 416.1 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2634, allocations: 0 / 416.1 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2634, allocations: 4 kB / 416.1 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005797/0.2639, allocations: 415.7 kB / 416.5 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.2641, allocations: 23.98 kB / 416.6 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.2643, allocations: 19.98 kB / 416.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.2644, allocations: 59.83 kB / 416.6 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00145/0.2659, allocations: 1.325 MB / 418 MB, free: 7.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001206/0.2671, allocations: 1.046 MB / 419 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003703/0.2675, allocations: 299.9 kB / 419.3 MB, free: 6.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008379/0.2683, allocations: 0.6938 MB / 420 MB, free: 5.348 MB / 334.1 MB Notification: Performance of Backend: time 4.71e-07/0.2683, allocations: 0 / 420 MB, free: 5.348 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.2693, allocations: 0.8217 MB / 420.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of SimCode: time 0.002311/0.2717, allocations: 2.158 MB / 423 MB, free: 2.121 MB / 334.1 MB Notification: Performance of Templates: time 0.01138/0.2831, allocations: 8.572 MB / 431.6 MB, free: 9.559 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