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.001287/0.001287, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.001556/0.001556, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 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.364/1.364, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 58.58 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2601, allocations: 49.16 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002695/0.2628, allocations: 1.475 MB / 397.8 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.2646, allocations: 0.8505 MB / 398.7 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.887e-05/0.2647, allocations: 1.125 kB / 398.7 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.609e-05/0.2648, allocations: 16.02 kB / 398.7 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.555e-05/0.2649, allocations: 18.36 kB / 398.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.2651, allocations: 58.66 kB / 398.8 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.2654, allocations: 131 kB / 398.9 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2655, allocations: 21.11 kB / 398.9 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005497/0.266, allocations: 391.7 kB / 399.3 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.2662, allocations: 71.09 kB / 399.4 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.25e-05/0.2662, allocations: 10.19 kB / 399.4 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.318e-05/0.2662, allocations: 9.594 kB / 399.4 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.246e-05/0.2663, allocations: 65.27 kB / 399.4 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.363e-05/0.2664, allocations: 79.17 kB / 399.5 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.2668, allocations: 357.7 kB / 399.9 MB, free: 6.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2668, allocations: 3.938 kB / 399.9 MB, free: 6.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2668, allocations: 0 / 399.9 MB, free: 6.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2668, allocations: 0 / 399.9 MB, free: 6.922 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006287/0.2674, allocations: 0.6633 MB / 400.5 MB, free: 6.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2675, allocations: 13.17 kB / 400.6 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.2675, allocations: 40.62 kB / 400.6 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.712e-05/0.2676, allocations: 39.05 kB / 400.6 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.2678, allocations: 213.9 kB / 400.8 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.2679, allocations: 8.531 kB / 400.8 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.2679, allocations: 7.562 kB / 400.9 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.2682, allocations: 241.9 kB / 401.1 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.2682, allocations: 0 / 401.1 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.2682, allocations: 4.375 kB / 401.1 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.2683, allocations: 4 kB / 401.1 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.2684, allocations: 179.5 kB / 401.3 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000658/0.2691, allocations: 413 kB / 401.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.2693, allocations: 193.7 kB / 401.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.2695, allocations: 178.8 kB / 402 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.2695, allocations: 1.156 kB / 402 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004472/0.27, allocations: 321.7 kB / 402.4 MB, free: 4.805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.27, allocations: 0 / 402.4 MB, free: 4.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009121/0.2709, allocations: 0.689 MB / 403 MB, free: 4.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.271, allocations: 173.1 kB / 403.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007099/0.2717, allocations: 0.5248 MB / 403.7 MB, free: 3.789 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.2717, allocations: 28.95 kB / 403.8 MB, free: 3.758 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.2717, allocations: 100.5 kB / 403.9 MB, free: 3.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.2718, allocations: 34.22 kB / 403.9 MB, free: 3.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.2719, allocations: 77.31 kB / 404 MB, free: 3.598 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.76e-05/0.272, allocations: 325.7 kB / 404.3 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.2721, allocations: 176.3 kB / 404.5 MB, free: 3.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.2723, allocations: 196.1 kB / 404.7 MB, free: 2.953 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.2726, allocations: 358.6 kB / 405 MB, free: 2.625 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2726, allocations: 0 / 405 MB, free: 2.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005316/0.2731, allocations: 498.7 kB / 405.5 MB, free: 2.266 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.424e-05/0.2732, allocations: 131 kB / 405.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2732, allocations: 1.125 kB / 405.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2732, allocations: 0 / 405.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.933e-05/0.2732, allocations: 1.062 kB / 405.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2732, allocations: 1.062 kB / 405.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.2733, allocations: 15.12 kB / 405.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/0.2734, allocations: 37.97 kB / 405.7 MB, free: 2.129 MB / 318.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,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.000289/0.2737, allocations: 373 kB / 406 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.2737, allocations: 40.14 kB / 406.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.2738, allocations: 60.44 kB / 406.1 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2739, allocations: 1.312 kB / 406.1 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2739, allocations: 0 / 406.1 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.2739, allocations: 1.781 kB / 406.1 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009169/0.2748, allocations: 0.8816 MB / 407 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2748, allocations: 0 / 407 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-06/0.2748, allocations: 1.156 kB / 407 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.2748, allocations: 0.6094 kB / 407 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.2748, allocations: 15.12 kB / 407 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2748, allocations: 6.188 kB / 407 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2748, allocations: 7.938 kB / 407.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/0.2754, allocations: 0.6443 MB / 407.7 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003838/0.2758, allocations: 209.4 kB / 407.9 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.2759, allocations: 13 kB / 407.9 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.276, allocations: 8.938 kB / 407.9 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.2761, allocations: 29.59 kB / 408 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/0.2762, allocations: 41.61 kB / 408 MB, free: 444 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004677/0.2766, allocations: 388.8 kB / 408.4 MB, free: 232 kB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2766, allocations: 4 kB / 408.4 MB, free: 228 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000279/0.2769, allocations: 41.25 kB / 408.4 MB, free: 228 kB / 318.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 (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.001224/0.2781, allocations: 1.2 MB / 409.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007067/0.2788, allocations: 0.6033 MB / 410.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2788, allocations: 1.156 kB / 410.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004701/0.2793, allocations: 423.8 kB / 410.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000646/0.28, allocations: 123.7 kB / 410.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.2841, allocations: 3.355 MB / 414.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.2844, allocations: 198.5 kB / 414.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.343e-05/0.2845, allocations: 8.859 kB / 414.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.2846, allocations: 30.7 kB / 414.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2846, allocations: 0 / 414.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0343/0.3189, allocations: 6.781 MB / 421.1 MB, free: 7.844 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.37, allocations: 5.25 kB / 421.1 MB, free: 7.84 MB / 334.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0023933 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable bUF3S.y in file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.csv. Warning: Get data of variable bUF3S.y from file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.802345611155033]