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.001385/0.001385, allocations: 111.9 kB / 17.74 MB, free: 5.359 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.001105/0.001105, allocations: 193.5 kB / 18.67 MB, free: 4.434 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.365/1.365, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001214, allocations: 51.91 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3265, allocations: 49.45 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002961/0.3295, allocations: 1.802 MB / 403.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.3316, allocations: 0.9393 MB / 404.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.104e-05/0.3317, allocations: 4 kB / 404.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.3318, allocations: 23.72 kB / 404.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.731e-05/0.332, allocations: 39.7 kB / 404.2 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.3323, allocations: 103.7 kB / 404.3 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000384/0.3327, allocations: 315.5 kB / 404.6 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.3329, allocations: 57.55 kB / 404.7 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007952/0.3337, allocations: 0.7369 MB / 405.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.3339, allocations: 147.4 kB / 405.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.662e-05/0.334, allocations: 24 kB / 405.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.575e-05/0.3341, allocations: 23.94 kB / 405.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.3342, allocations: 143.4 kB / 405.8 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.3344, allocations: 242.3 kB / 406 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006319/0.3351, allocations: 0.7447 MB / 406.7 MB, free: 3.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3351, allocations: 4 kB / 406.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.629e-06/0.3351, allocations: 4 kB / 406.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.3351, allocations: 0 / 406.7 MB, free: 3.516 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.001199/0.3363, allocations: 1.168 MB / 407.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3364, allocations: 8.031 kB / 407.9 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.3365, allocations: 80 kB / 408 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/0.337, allocations: 396.2 kB / 408.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.337, allocations: 12.56 kB / 408.4 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.3371, allocations: 20.38 kB / 408.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.3376, allocations: 250.2 kB / 408.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3376, allocations: 0 / 408.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/0.3377, allocations: 12 kB / 408.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.3377, allocations: 4 kB / 408.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002974/0.338, allocations: 137.7 kB / 408.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.3391, allocations: 0.727 MB / 409.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.3395, allocations: 210.4 kB / 409.7 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.3398, allocations: 172.9 kB / 409.9 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3398, allocations: 4 kB / 409.9 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005571/0.3404, allocations: 381.9 kB / 410.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.904e-06/0.3404, allocations: 0 / 410.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001401/0.3418, allocations: 0.9317 MB / 411.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.3419, allocations: 281 kB / 411.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.3431, allocations: 0.9568 MB / 412.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.3432, allocations: 37.7 kB / 412.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.632e-05/0.3433, allocations: 130 kB / 412.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.273e-05/0.3434, allocations: 63.2 kB / 412.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.3436, allocations: 161.1 kB / 412.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3437, allocations: 334.8 kB / 413.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.344, allocations: 124.2 kB / 413.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.3442, allocations: 168.7 kB / 413.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006555/0.3449, allocations: 0.699 MB / 414.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3449, allocations: 3.938 kB / 414.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001011/0.3459, allocations: 0.7564 MB / 414.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.3461, allocations: 249.7 kB / 415.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3461, allocations: 0 / 415.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.3461, allocations: 4 kB / 415.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.53e-05/0.3462, allocations: 4 kB / 415.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3462, allocations: 7.938 kB / 415.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.3464, allocations: 27.83 kB / 415.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.3466, allocations: 108.1 kB / 415.3 MB, free: 10.33 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.0006107/0.3472, allocations: 0.6201 MB / 415.9 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.413e-05/0.3473, allocations: 75.16 kB / 416 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.3475, allocations: 130.9 kB / 416.1 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3475, allocations: 0 / 416.1 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3475, allocations: 0 / 416.1 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3475, allocations: 0 / 416.1 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.3492, allocations: 1.429 MB / 417.6 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3493, allocations: 4 kB / 417.6 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.644e-05/0.3493, allocations: 7.984 kB / 417.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3493, allocations: 3.984 kB / 417.6 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/0.3493, allocations: 31.98 kB / 417.6 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3493, allocations: 0 / 417.6 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3494, allocations: 0 / 417.6 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.3505, allocations: 0.9649 MB / 418.6 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005388/0.3511, allocations: 411.8 kB / 419 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.3512, allocations: 27.98 kB / 419 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.3514, allocations: 19.98 kB / 419 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.3516, allocations: 63.88 kB / 419.1 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.3517, allocations: 107.9 kB / 419.2 MB, free: 6.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008578/0.3526, allocations: 0.686 MB / 419.9 MB, free: 5.512 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.833e-06/0.3526, allocations: 4 kB / 419.9 MB, free: 5.508 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003791/0.353, allocations: 107.7 kB / 420 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.0001939/0.3532, allocations: 139.2 kB / 420.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.3542, allocations: 0.8897 MB / 421 MB, free: 4.266 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3542, allocations: 4.062 kB / 421 MB, free: 4.262 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006515/0.3549, allocations: 0.7552 MB / 421.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.3559, allocations: 271 kB / 422 MB, free: 3.168 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.3579, allocations: 1.326 MB / 423.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.3586, allocations: 0.948 MB / 424.3 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.3587, allocations: 63.33 kB / 424.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3587, allocations: 0 / 424.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of Templates: time 0.008125/0.3668, allocations: 5.413 MB / 429.8 MB, free: 11.35 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