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.001815/0.001815, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002085/0.002085, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 59.5 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0961/0.09726, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003223/0.1005, allocations: 1.822 MB / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.1027, allocations: 0.9745 MB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.785e-05/0.1028, allocations: 7.938 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.103, allocations: 19.78 kB / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.45e-05/0.1031, allocations: 35.66 kB / 361.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.1034, allocations: 103.8 kB / 361.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.1039, allocations: 323.3 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.104, allocations: 49.66 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007339/0.1048, allocations: 0.7291 MB / 362.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.105, allocations: 139.5 kB / 363.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.187e-05/0.1051, allocations: 20 kB / 363.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.069e-05/0.1051, allocations: 20 kB / 363.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.1053, allocations: 135.5 kB / 363.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.1055, allocations: 250.2 kB / 363.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007073/0.1063, allocations: 0.7473 MB / 364.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.1063, allocations: 0 / 364.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1063, allocations: 7.938 kB / 364.3 MB, free: 7.977 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1063, allocations: 0 / 364.3 MB, free: 7.977 MB / 302.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.001261/0.1076, allocations: 1.161 MB / 365.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1076, allocations: 8.031 kB / 365.4 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.1077, allocations: 76.09 kB / 365.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.1082, allocations: 400.1 kB / 365.9 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.1083, allocations: 16.56 kB / 365.9 MB, free: 6.188 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.1083, allocations: 20.38 kB / 365.9 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.1088, allocations: 249.8 kB / 366.2 MB, free: 5.918 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.1088, allocations: 0 / 366.2 MB, free: 5.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.1089, allocations: 12 kB / 366.2 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1089, allocations: 4 kB / 366.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002725/0.1092, allocations: 136.1 kB / 366.3 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.1103, allocations: 0.731 MB / 367 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003666/0.1107, allocations: 205.7 kB / 367.3 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.111, allocations: 184.7 kB / 367.4 MB, free: 4.598 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.111, allocations: 3.984 kB / 367.4 MB, free: 4.594 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000599/0.1116, allocations: 385.9 kB / 367.8 MB, free: 4.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.1116, allocations: 4 kB / 367.8 MB, free: 4.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001407/0.1131, allocations: 0.9279 MB / 368.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.1132, allocations: 281 kB / 369 MB, free: 2.855 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.1144, allocations: 0.9491 MB / 370 MB, free: 1.895 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.1144, allocations: 41.69 kB / 370 MB, free: 1.848 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/0.1145, allocations: 130 kB / 370.1 MB, free: 1.715 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.926e-05/0.1146, allocations: 67.19 kB / 370.2 MB, free: 1.648 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.1148, allocations: 169 kB / 370.4 MB, free: 1.477 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.115, allocations: 334.8 kB / 370.7 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.1152, allocations: 128.2 kB / 370.8 MB, free: 1.016 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.1155, allocations: 168.7 kB / 371 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006437/0.1162, allocations: 0.695 MB / 371.7 MB, free: 32 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1162, allocations: 3.938 kB / 371.7 MB, free: 28 kB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.2093/0.3255, allocations: 0.7531 MB / 372.4 MB, free: 20.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.3257, allocations: 243.6 kB / 372.7 MB, free: 19.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3257, allocations: 1.75 kB / 372.7 MB, free: 19.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.3257, allocations: 1.625 kB / 372.7 MB, free: 19.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.289e-05/0.3258, allocations: 11.25 kB / 372.7 MB, free: 19.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.3258, allocations: 2.469 kB / 372.7 MB, free: 19.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.3261, allocations: 25.91 kB / 372.7 MB, free: 19.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.3263, allocations: 109.3 kB / 372.8 MB, free: 19.76 MB / 302.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.0007199/0.327, allocations: 0.6087 MB / 373.4 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.3271, allocations: 83.19 kB / 373.5 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.3273, allocations: 126.6 kB / 373.6 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3274, allocations: 2.344 kB / 373.6 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3274, allocations: 7.797 kB / 373.6 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3274, allocations: 0.7031 kB / 373.6 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.3293, allocations: 1.426 MB / 375.1 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3293, allocations: 0 / 375.1 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.3294, allocations: 5.922 kB / 375.1 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/0.3294, allocations: 6.875 kB / 375.1 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.793e-05/0.3295, allocations: 28.8 kB / 375.1 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3295, allocations: 1.781 kB / 375.1 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.3295, allocations: 4.438 kB / 375.1 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.3307, allocations: 0.9585 MB / 376.1 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006462/0.3314, allocations: 419.1 kB / 376.5 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.3315, allocations: 23.06 kB / 376.5 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.3317, allocations: 20 kB / 376.5 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.3319, allocations: 64.89 kB / 376.6 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/0.3321, allocations: 107.9 kB / 376.7 MB, free: 17.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009755/0.333, allocations: 0.69 MB / 377.4 MB, free: 17.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3331, allocations: 0 / 377.4 MB, free: 17.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004674/0.3335, allocations: 93.03 kB / 377.5 MB, free: 17.54 MB / 302.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.000227/0.3338, allocations: 148.1 kB / 377.6 MB, free: 17.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009625/0.3347, allocations: 0.8815 MB / 378.5 MB, free: 16.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3347, allocations: 0 / 378.5 MB, free: 16.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005856/0.3353, allocations: 0.7554 MB / 379.3 MB, free: 16.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.3364, allocations: 275.7 kB / 379.5 MB, free: 16.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.3382, allocations: 1.273 MB / 380.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.3388, allocations: 0.9463 MB / 381.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000266/0.339, allocations: 89.14 kB / 381.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.259e-05/0.3391, allocations: 47.92 kB / 381.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3391, allocations: 0 / 381.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of Templates: time 0.01556/0.3547, allocations: 9.482 MB / 391.4 MB, free: 11.48 MB / 302.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 -s cvode -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