Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 111.3 kB / 17.06 MB, free: 6 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.001597/0.001597, allocations: 200 kB / 18 MB, free: 5.078 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.685/1.685, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008927/0.0008928, allocations: 51.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2449, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002417/0.2473, allocations: 1.518 MB / 401.7 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.249, allocations: 0.8428 MB / 402.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.2491, allocations: 0 / 402.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.246e-05/0.2492, allocations: 11.88 kB / 402.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.441e-05/0.2492, allocations: 19.84 kB / 402.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.2495, allocations: 47.89 kB / 402.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.2497, allocations: 151.7 kB / 402.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.885e-05/0.2498, allocations: 23.97 kB / 402.8 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003947/0.2502, allocations: 395.2 kB / 403.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.2503, allocations: 63.77 kB / 403.3 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.2504, allocations: 8 kB / 403.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.635e-05/0.2504, allocations: 12 kB / 403.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.005e-05/0.2505, allocations: 63.75 kB / 403.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.2506, allocations: 115.2 kB / 403.5 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.2509, allocations: 354.7 kB / 403.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.2509, allocations: 0 / 403.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2509, allocations: 3.938 kB / 403.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2509, allocations: 0 / 403.8 MB, free: 5.211 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.0006601/0.2516, allocations: 0.7313 MB / 404.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2517, allocations: 8.031 kB / 404.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/0.2517, allocations: 42.73 kB / 404.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.2518, allocations: 44.5 kB / 404.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.252, allocations: 266.3 kB / 404.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.2521, allocations: 8.375 kB / 404.9 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.2521, allocations: 8.375 kB / 404.9 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.2524, allocations: 129.7 kB / 405.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2524, allocations: 0 / 405.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.2524, allocations: 4 kB / 405.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2524, allocations: 7.984 kB / 405.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.2526, allocations: 55.97 kB / 405.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/0.2532, allocations: 460.5 kB / 405.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.2533, allocations: 98.48 kB / 405.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.2535, allocations: 80.89 kB / 405.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.2535, allocations: 0 / 405.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003022/0.2538, allocations: 206.7 kB / 406 MB, free: 2.879 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.2538, allocations: 0 / 406 MB, free: 2.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007067/0.2545, allocations: 470 kB / 406.4 MB, free: 2.391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.2546, allocations: 166.2 kB / 406.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/0.2552, allocations: 0.5091 MB / 407.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.2552, allocations: 33.7 kB / 407.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.2553, allocations: 101 kB / 407.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.2553, allocations: 27.72 kB / 407.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-05/0.2554, allocations: 81.41 kB / 407.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.2555, allocations: 330.8 kB / 407.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.2556, allocations: 55.91 kB / 407.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.2558, allocations: 73.62 kB / 407.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.2561, allocations: 335.3 kB / 408.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2561, allocations: 4 kB / 408.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004526/0.2565, allocations: 379.8 kB / 408.5 MB, free: 168 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.969e-05/0.2566, allocations: 126.8 kB / 408.6 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2566, allocations: 0 / 408.6 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.2566, allocations: 0 / 408.6 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.011e-05/0.2567, allocations: 4 kB / 408.6 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2567, allocations: 112 / 408.6 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.2568, allocations: 19.89 kB / 408.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/0.2569, allocations: 36 kB / 408.7 MB, free: 15.95 MB / 334.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.0003007/0.2572, allocations: 374.2 kB / 409 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.2572, allocations: 35.62 kB / 409.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.677e-05/0.2573, allocations: 67.09 kB / 409.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.2573, allocations: 3.984 kB / 409.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.2574, allocations: 0 / 409.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2574, allocations: 3.938 kB / 409.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008245/0.2582, allocations: 0.8097 MB / 409.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2582, allocations: 4 kB / 409.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-06/0.2582, allocations: 0 / 409.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2582, allocations: 4 kB / 409.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.2582, allocations: 12 kB / 410 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2583, allocations: 0 / 410 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2583, allocations: 3.938 kB / 410 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005533/0.2588, allocations: 0.5251 MB / 410.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.2591, allocations: 240.4 kB / 410.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.2592, allocations: 12 kB / 410.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.2593, allocations: 7.984 kB / 410.7 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.993e-05/0.2594, allocations: 35.91 kB / 410.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/0.2594, allocations: 40 kB / 410.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003902/0.2598, allocations: 386.9 kB / 411.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2598, allocations: 0 / 411.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.2601, allocations: 40 kB / 411.2 MB, free: 13.2 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: 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.0008334/0.261, allocations: 1.093 MB / 412.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004472/0.2614, allocations: 433.5 kB / 412.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2614, allocations: 0 / 412.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.2617, allocations: 373.6 kB / 413.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006064/0.2623, allocations: 137.5 kB / 413.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.2652, allocations: 2.747 MB / 416 MB, free: 8.188 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.2656, allocations: 0.8021 MB / 416.8 MB, free: 7.359 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.128e-05/0.2657, allocations: 12.64 kB / 416.8 MB, free: 7.348 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.2657, allocations: 27.44 kB / 416.8 MB, free: 7.32 MB / 334.1 MB Notification: Performance of SimCode: time 1.91e-07/0.2657, allocations: 0 / 416.8 MB, free: 7.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.98/3.246, allocations: 5.869 MB / 422.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/18, allocations: 14.7 kB / 422.7 MB, free: 1.551 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bUF3S.y Variables in the result:bUF3S.enable,bUF3S.strength,bUF3S.tHL,bUF3S.tLH,bUF3S.x,bUF3S.y,e_table.n,e_table.t[1],e_table.t[2],e_table.t[3],e_table.x[1],e_table.x[2],e_table.x[3],e_table.y,e_table.y0,time,x_table.n,x_table.t[1],x_table.t[2],x_table.x[1],x_table.x[2],x_table.y,x_table.y0