Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 94.95 kB / 16.95 MB, free: 6.891 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.001549/0.001549, allocations: 185.9 kB / 17.84 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005697/0.0005698, allocations: 16 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1406, allocations: 47.58 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002274/0.143, allocations: 1.208 MB / 329.6 MB, free: 2.871 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.1451, allocations: 0.8443 MB / 330.4 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/0.1452, allocations: 0 / 330.4 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.318e-05/0.1453, allocations: 3.938 kB / 330.4 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.395e-05/0.1453, allocations: 19.91 kB / 330.4 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.1456, allocations: 43.89 kB / 330.5 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.1458, allocations: 103.8 kB / 330.6 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1459, allocations: 19.98 kB / 330.6 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005473/0.1465, allocations: 339.4 kB / 330.9 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.1466, allocations: 67.83 kB / 331 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.1467, allocations: 4 kB / 331 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.605e-05/0.1467, allocations: 4 kB / 331 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.095e-05/0.1468, allocations: 67.73 kB / 331.1 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.706e-05/0.1469, allocations: 77.52 kB / 331.1 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.1472, allocations: 279.4 kB / 331.4 MB, free: 1.004 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.1473, allocations: 0 / 331.4 MB, free: 1.004 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1473, allocations: 3.938 kB / 331.4 MB, free: 1 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1473, allocations: 0 / 331.4 MB, free: 1 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000971/0.1483, allocations: 0.6568 MB / 332.1 MB, free: 276 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.1483, allocations: 12.03 kB / 332.1 MB, free: 264 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.909e-05/0.1484, allocations: 35.53 kB / 332.1 MB, free: 228 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.1487, allocations: 265.3 kB / 332.4 MB, free: 15.92 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.1488, allocations: 7.984 kB / 332.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.1488, allocations: 16 kB / 332.4 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.1492, allocations: 121.5 kB / 332.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1492, allocations: 0 / 332.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.1492, allocations: 4 kB / 332.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1492, allocations: 4 kB / 332.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.1494, allocations: 55.97 kB / 332.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007175/0.1501, allocations: 460.5 kB / 333 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.1503, allocations: 94.55 kB / 333.1 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.1505, allocations: 84.88 kB / 333.2 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.1505, allocations: 0 / 333.2 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004256/0.1509, allocations: 198.7 kB / 333.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.151, allocations: 4 kB / 333.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009072/0.1519, allocations: 463.8 kB / 333.9 MB, free: 14.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.152, allocations: 166.2 kB / 334 MB, free: 14.12 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007523/0.1528, allocations: 0.5246 MB / 334.5 MB, free: 13.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.1529, allocations: 29.7 kB / 334.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.153, allocations: 105 kB / 334.7 MB, free: 13.45 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.153, allocations: 27.64 kB / 334.7 MB, free: 13.42 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/0.153, allocations: 4 kB / 334.7 MB, free: 13.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1532, allocations: 330.8 kB / 335 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.1534, allocations: 63.91 kB / 335.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.1535, allocations: 73.67 kB / 335.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.1537, allocations: 158.9 kB / 335.3 MB, free: 12.76 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1537, allocations: 4 kB / 335.3 MB, free: 12.76 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005828/0.1543, allocations: 372.3 kB / 335.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.1544, allocations: 133.4 kB / 335.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.1544, allocations: 0 / 335.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1545, allocations: 32 / 335.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.955e-05/0.1545, allocations: 4 kB / 335.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.1545, allocations: 4 kB / 335.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.1547, allocations: 15.89 kB / 335.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.1549, allocations: 39.95 kB / 335.9 MB, free: 12.15 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.bUF3S.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004138/0.1553, allocations: 358.3 kB / 336.2 MB, free: 11.76 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.1553, allocations: 35.62 kB / 336.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.1555, allocations: 63.16 kB / 336.3 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1555, allocations: 4.125 kB / 336.3 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.1555, allocations: 8 kB / 336.3 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1555, allocations: 3.984 kB / 336.3 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.1567, allocations: 0.8017 MB / 337.1 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1567, allocations: 0 / 337.1 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-06/0.1567, allocations: 3.984 kB / 337.1 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1567, allocations: 0 / 337.1 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/0.1568, allocations: 12 kB / 337.2 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1568, allocations: 0 / 337.2 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1568, allocations: 0 / 337.2 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007117/0.1575, allocations: 0.5372 MB / 337.7 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.1578, allocations: 248.3 kB / 337.9 MB, free: 9.906 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.75e-05/0.1579, allocations: 12 kB / 337.9 MB, free: 9.895 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.1581, allocations: 15.92 kB / 338 MB, free: 9.879 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.1582, allocations: 23.97 kB / 338 MB, free: 9.855 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.57e-05/0.1583, allocations: 47.88 kB / 338 MB, free: 9.809 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005082/0.1588, allocations: 394.8 kB / 338.4 MB, free: 9.426 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1588, allocations: 0 / 338.4 MB, free: 9.426 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.1591, allocations: 47.95 kB / 338.5 MB, free: 9.379 MB / 286.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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001813/0.1593, allocations: 115 kB / 338.6 MB, free: 9.258 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006396/0.1599, allocations: 429.5 kB / 339 MB, free: 8.789 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.1599, allocations: 3.938 kB / 339 MB, free: 8.785 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.1603, allocations: 373.6 kB / 339.4 MB, free: 8.371 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005778/0.1609, allocations: 113.5 kB / 339.5 MB, free: 8.258 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.162, allocations: 0.731 MB / 340.2 MB, free: 7.504 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.1625, allocations: 0.7986 MB / 341 MB, free: 6.68 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.375e-05/0.1626, allocations: 12.64 kB / 341 MB, free: 6.664 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.1626, allocations: 11.44 kB / 341 MB, free: 6.652 MB / 286.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1626, allocations: 0 / 341 MB, free: 6.652 MB / 286.1 MB Notification: Performance of Templates: time 0.007973/0.1706, allocations: 3.762 MB / 344.8 MB, free: 2.887 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches