Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001862/0.001862, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 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.00202/0.00202, allocations: 210.8 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 47.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2698, allocations: 53.36 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003022/0.2729, allocations: 1.53 MB / 432.6 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000403/0.2733, allocations: 131.5 kB / 432.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.929e-05/0.2733, allocations: 0 / 432.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.037e-05/0.2734, allocations: 7.922 kB / 432.7 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.2735, allocations: 7.938 kB / 432.7 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.2737, allocations: 34.91 kB / 432.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.938e-05/0.2738, allocations: 27.92 kB / 432.8 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.17e-05/0.2739, allocations: 15.78 kB / 432.8 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.928e-05/0.2739, allocations: 7.938 kB / 432.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.315e-05/0.274, allocations: 23.91 kB / 432.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.274, allocations: 0 / 432.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.274, allocations: 4 kB / 432.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.274, allocations: 11.94 kB / 432.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.2741, allocations: 11.88 kB / 432.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.2742, allocations: 39.81 kB / 432.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2742, allocations: 0 / 432.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2742, allocations: 0 / 432.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.2742, allocations: 0 / 432.9 MB, free: 4.801 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004055/0.2746, allocations: 290 kB / 433.2 MB, free: 4.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2746, allocations: 8.031 kB / 433.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.2747, allocations: 38.69 kB / 433.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.2747, allocations: 8.891 kB / 433.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.2749, allocations: 130.4 kB / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.2749, allocations: 384 / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.2749, allocations: 384 / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.2752, allocations: 93.61 kB / 433.5 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2752, allocations: 3.938 kB / 433.5 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.2752, allocations: 0 / 433.5 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2752, allocations: 4 kB / 433.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.418e-05/0.2752, allocations: 15.98 kB / 433.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.2755, allocations: 228.8 kB / 433.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.801e-05/0.2756, allocations: 45.09 kB / 433.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.2756, allocations: 13.78 kB / 433.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.2757, allocations: 4 kB / 433.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.2757, allocations: 38.44 kB / 433.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2757, allocations: 0 / 433.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002178/0.2759, allocations: 65.56 kB / 433.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.276, allocations: 85.11 kB / 434 MB, free: 3.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.2761, allocations: 128.5 kB / 434.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.2761, allocations: 25.7 kB / 434.1 MB, free: 3.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.2762, allocations: 84.14 kB / 434.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.769e-06/0.2762, allocations: 3.953 kB / 434.2 MB, free: 3.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.2762, allocations: 17.72 kB / 434.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2764, allocations: 318.8 kB / 434.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.604e-05/0.2764, allocations: 4 kB / 434.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.2764, allocations: 21.97 kB / 434.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.011e-05/0.2765, allocations: 25.64 kB / 434.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.2765, allocations: 3.938 kB / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.539e-05/0.2766, allocations: 45.69 kB / 434.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2766, allocations: 4 kB / 434.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2766, allocations: 0 / 434.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2766, allocations: 4 kB / 434.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.532e-05/0.2766, allocations: 8.062 kB / 434.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2766, allocations: 4 kB / 434.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.252e-05/0.2767, allocations: 0 / 434.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.2767, allocations: 4 kB / 434.7 MB, free: 2.828 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.622e-05/0.2768, allocations: 125.7 kB / 434.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.2768, allocations: 37.66 kB / 434.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.2768, allocations: 11.42 kB / 434.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2769, allocations: 3.984 kB / 434.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2769, allocations: 4 kB / 434.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2769, allocations: 0 / 434.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.277, allocations: 140.7 kB / 435 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.277, allocations: 0 / 435 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-06/0.277, allocations: 0 / 435 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.277, allocations: 4 kB / 435 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.277, allocations: 4 kB / 435 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.277, allocations: 3.938 kB / 435 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.277, allocations: 0 / 435 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.2772, allocations: 152.3 kB / 435.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.2772, allocations: 19.88 kB / 435.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.2772, allocations: 4 kB / 435.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.039e-05/0.2773, allocations: 4.031 kB / 435.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.2773, allocations: 3.938 kB / 435.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.2773, allocations: 4 kB / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.2775, allocations: 107.2 kB / 435.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2775, allocations: 0 / 435.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.2777, allocations: 4 kB / 435.3 MB, free: 2.125 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0004587/0.2781, allocations: 0.682 MB / 436 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.863e-05/0.2782, allocations: 23.95 kB / 436 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2782, allocations: 0 / 436 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.325e-05/0.2782, allocations: 4 kB / 436 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.2785, allocations: 16.02 kB / 436 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.2797, allocations: 1.248 MB / 437.2 MB, free: 32 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.491e-05/0.2798, allocations: 71.64 kB / 437.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.534e-05/0.2798, allocations: 4 kB / 437.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.2798, allocations: 15.44 kB / 437.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2798, allocations: 0 / 437.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.3086, allocations: 1.922 MB / 439.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.08, allocations: 4 kB / 439.3 MB, free: 14.13 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result:time,step.startTime,periodicClock.factor,periodicClock.resolution,sample1.u,sample1.y [Calling sys.exit(0), Time elapsed: 13.654372264019912]