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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 84.3 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 168.2 kB / 25.6 MB, free: 8.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.063/1.063, allocations: 158.6 MB / 187.5 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,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=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.591e-05, allocations: 2.312 kB / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002326/0.002352, allocations: 1.522 MB / 253 MB, free: 5.711 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.004027, allocations: 0.8545 MB / 253.8 MB, free: 4.848 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.517e-05/0.004103, allocations: 0 / 253.8 MB, free: 4.848 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.00421, allocations: 15.86 kB / 253.9 MB, free: 4.832 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.698e-05/0.004307, allocations: 23.86 kB / 253.9 MB, free: 4.809 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.004579, allocations: 51.88 kB / 253.9 MB, free: 4.758 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.004753, allocations: 139.7 kB / 254.1 MB, free: 4.621 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.482e-05/0.004847, allocations: 11.98 kB / 254.1 MB, free: 4.609 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003988/0.005246, allocations: 419.2 kB / 254.5 MB, free: 4.199 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.00537, allocations: 59.81 kB / 254.6 MB, free: 4.141 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.781e-05/0.005408, allocations: 8 kB / 254.6 MB, free: 4.133 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.721e-05/0.005435, allocations: 12 kB / 254.6 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.467e-05/0.00551, allocations: 63.72 kB / 254.6 MB, free: 4.059 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.402e-05/0.005584, allocations: 55.8 kB / 254.7 MB, free: 4.004 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.005831, allocations: 267 kB / 254.9 MB, free: 3.742 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005833, allocations: 4 kB / 255 MB, free: 3.738 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005835, allocations: 0 / 255 MB, free: 3.738 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.00584, allocations: 0 / 255 MB, free: 3.738 MB / 234.7 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.0007051/0.006545, allocations: 0.7823 MB / 255.7 MB, free: 2.895 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.006588, allocations: 11.98 kB / 255.7 MB, free: 2.883 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.006654, allocations: 44.7 kB / 255.8 MB, free: 2.84 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.006848, allocations: 222.9 kB / 256 MB, free: 2.594 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.00687, allocations: 8.359 kB / 256 MB, free: 2.586 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.006888, allocations: 12.38 kB / 256 MB, free: 2.574 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.007178, allocations: 236.5 kB / 256.3 MB, free: 2.312 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.007187, allocations: 4.188 kB / 256.3 MB, free: 2.309 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.007208, allocations: 8.312 kB / 256.3 MB, free: 2.301 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.007217, allocations: 3.938 kB / 256.3 MB, free: 2.297 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.396e-05/0.007311, allocations: 154.8 kB / 256.4 MB, free: 2.121 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/0.007793, allocations: 404 kB / 256.8 MB, free: 1.699 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.007947, allocations: 177.8 kB / 257 MB, free: 1.488 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.405e-05/0.008032, allocations: 162.5 kB / 257.2 MB, free: 1.301 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.00804, allocations: 3.984 kB / 257.2 MB, free: 1.297 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.008244, allocations: 315.1 kB / 257.5 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.008245, allocations: 3.938 kB / 257.5 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005664/0.008812, allocations: 0.6347 MB / 258.1 MB, free: 224 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.008887, allocations: 170.2 kB / 258.3 MB, free: 16 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004801/0.009367, allocations: 0.506 MB / 258.8 MB, free: 15.49 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.009396, allocations: 29.7 kB / 258.8 MB, free: 15.46 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.209e-05/0.009478, allocations: 151.8 kB / 259 MB, free: 15.3 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.009512, allocations: 31.72 kB / 259 MB, free: 15.27 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.837e-05/0.009611, allocations: 87.14 kB / 259.1 MB, free: 15.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.009787, allocations: 0.5001 MB / 259.6 MB, free: 14.67 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.009899, allocations: 154.8 kB / 259.7 MB, free: 14.49 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.01, allocations: 174.1 kB / 259.9 MB, free: 14.29 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.01019, allocations: 324.7 kB / 260.2 MB, free: 13.92 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01019, allocations: 0 / 260.2 MB, free: 13.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003623/0.01055, allocations: 467.1 kB / 260.7 MB, free: 13.41 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.256e-05/0.01064, allocations: 126.8 kB / 260.8 MB, free: 13.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01064, allocations: 0 / 260.8 MB, free: 13.26 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.01065, allocations: 4.031 kB / 260.8 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.316e-05/0.01068, allocations: 4 kB / 260.8 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.01068, allocations: 0 / 260.8 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.01078, allocations: 15.95 kB / 260.8 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.01083, allocations: 47.97 kB / 260.9 MB, free: 13.19 MB / 250.7 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,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.yy,bUF3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002969/0.01112, allocations: 385.3 kB / 261.2 MB, free: 12.77 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.01118, allocations: 51.7 kB / 261.3 MB, free: 12.72 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.932e-05/0.01127, allocations: 59.08 kB / 261.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01127, allocations: 3.984 kB / 261.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.01128, allocations: 0 / 261.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.01128, allocations: 4 kB / 261.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007086/0.01199, allocations: 0.8393 MB / 262.2 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.01199, allocations: 0 / 262.2 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.869e-06/0.012, allocations: 3.938 kB / 262.2 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.01201, allocations: 0 / 262.2 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.01203, allocations: 19.98 kB / 262.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.01203, allocations: 0 / 262.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.01203, allocations: 0 / 262.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.01247, allocations: 0.6652 MB / 262.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.0127, allocations: 185.3 kB / 263.1 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.01273, allocations: 12 kB / 263.1 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.01281, allocations: 15.98 kB / 263.1 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.01288, allocations: 19.92 kB / 263.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.01291, allocations: 47.92 kB / 263.2 MB, free: 10.7 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002351/0.01315, allocations: 302.9 kB / 263.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01315, allocations: 0 / 263.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002015/0.01335, allocations: 44 kB / 263.5 MB, free: 10.37 MB / 250.7 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 (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.0001301/0.01348, allocations: 111 kB / 263.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003393/0.01382, allocations: 0.573 MB / 264.2 MB, free: 9.57 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01382, allocations: 0 / 264.2 MB, free: 9.57 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.01402, allocations: 412 kB / 264.6 MB, free: 9.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.0144, allocations: 139 kB / 264.7 MB, free: 8.961 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009041/0.01531, allocations: 0.7418 MB / 265.5 MB, free: 8.172 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.455e-05/0.01537, allocations: 95.27 kB / 265.5 MB, free: 8.059 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.206e-05/0.01542, allocations: 12.7 kB / 265.6 MB, free: 8.043 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.01566, allocations: 174.6 kB / 265.7 MB, free: 7.871 MB / 250.7 MB Notification: Performance of SimCode: time 1.463e-06/0.01566, allocations: 0 / 265.7 MB, free: 7.871 MB / 250.7 MB Notification: Performance of Templates: time 0.006979/0.02264, allocations: 4.46 MB / 270.2 MB, free: 3.422 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.869400260038674]