Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",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.001288/0.001288, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001304/0.001304, allocations: 200 kB / 18.01 MB, free: 5.047 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.439/1.439, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 47.94 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2606, allocations: 49.45 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002713/0.2634, allocations: 1.49 MB / 401.7 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003875/0.2638, allocations: 138.5 kB / 401.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.275e-05/0.2638, allocations: 2.406 kB / 401.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.928e-05/0.2639, allocations: 3.938 kB / 401.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.264, allocations: 6.031 kB / 401.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.2642, allocations: 37.3 kB / 401.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.298e-05/0.2643, allocations: 22.72 kB / 401.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.084e-05/0.2644, allocations: 13.73 kB / 401.9 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.375e-05/0.2645, allocations: 18.7 kB / 402 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.199e-05/0.2645, allocations: 11.86 kB / 402 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.2645, allocations: 1.219 kB / 402 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.2645, allocations: 3.156 kB / 402 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.321e-05/0.2646, allocations: 10.91 kB / 402 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.2646, allocations: 19.86 kB / 402 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.2647, allocations: 46.86 kB / 402.1 MB, free: 7.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.2647, allocations: 0 / 402.1 MB, free: 7.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2647, allocations: 0 / 402.1 MB, free: 7.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.2648, allocations: 0 / 402.1 MB, free: 7.008 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000448/0.2652, allocations: 367.2 kB / 402.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2652, allocations: 8.031 kB / 402.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.2653, allocations: 34.75 kB / 402.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.11e-05/0.2653, allocations: 4.891 kB / 402.5 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.2656, allocations: 200.1 kB / 402.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.2656, allocations: 384 / 402.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.2656, allocations: 4.375 kB / 402.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.2658, allocations: 89.61 kB / 402.7 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2658, allocations: 7.938 kB / 402.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.2658, allocations: 0 / 402.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2659, allocations: 0 / 402.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.433e-05/0.2659, allocations: 11.94 kB / 402.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.2662, allocations: 261.8 kB / 403 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.481e-05/0.2663, allocations: 45.09 kB / 403.1 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/0.2664, allocations: 17.77 kB / 403.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.2664, allocations: 0 / 403.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.2664, allocations: 30.56 kB / 403.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 4.308e-06/0.2664, allocations: 7.984 kB / 403.1 MB, free: 5.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.000201/0.2666, allocations: 57.58 kB / 403.2 MB, free: 5.676 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.2667, allocations: 85.11 kB / 403.3 MB, free: 5.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.2668, allocations: 125.8 kB / 403.4 MB, free: 5.441 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.2669, allocations: 25.7 kB / 403.4 MB, free: 5.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.2669, allocations: 84.14 kB / 403.5 MB, free: 5.324 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.458e-06/0.2669, allocations: 4.25 kB / 403.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.267, allocations: 25.7 kB / 403.5 MB, free: 5.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2671, allocations: 310.8 kB / 403.8 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.129e-05/0.2672, allocations: 4 kB / 403.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.2672, allocations: 29.58 kB / 403.9 MB, free: 4.938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.039e-05/0.2673, allocations: 17.78 kB / 403.9 MB, free: 4.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2673, allocations: 7.938 kB / 403.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001013/0.2674, allocations: 53.58 kB / 403.9 MB, free: 4.848 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2674, allocations: 4 kB / 403.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2674, allocations: 0 / 403.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2674, allocations: 0 / 403.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.628e-05/0.2675, allocations: 4 kB / 403.9 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2675, allocations: 0 / 403.9 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.2675, allocations: 0 / 403.9 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.2675, allocations: 4.062 kB / 403.9 MB, free: 4.836 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: 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 9.102e-05/0.2676, allocations: 125.8 kB / 404.1 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.2677, allocations: 37.59 kB / 404.1 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/0.2677, allocations: 15.52 kB / 404.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2677, allocations: 0 / 404.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2677, allocations: 0 / 404.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2678, allocations: 4 kB / 404.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.2679, allocations: 165.6 kB / 404.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2679, allocations: 0 / 404.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-06/0.268, allocations: 7.969 kB / 404.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.268, allocations: 0 / 404.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.268, allocations: 3.984 kB / 404.3 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.268, allocations: 4 kB / 404.3 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.268, allocations: 0 / 404.3 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.2682, allocations: 152.3 kB / 404.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.2683, allocations: 93.12 kB / 404.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.2683, allocations: 4 kB / 404.5 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.316e-05/0.2683, allocations: 3.938 kB / 404.5 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.2684, allocations: 0 / 404.5 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.2684, allocations: 4 kB / 404.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.279e-05/0.2685, allocations: 102.6 kB / 404.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2685, allocations: 0 / 404.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.2687, allocations: 8 kB / 404.7 MB, free: 4.016 MB / 318.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.0004833/0.2692, allocations: 0.6936 MB / 405.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.2693, allocations: 19.94 kB / 405.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.2693, allocations: 0 / 405.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.601e-05/0.2693, allocations: 12.08 kB / 405.4 MB, free: 3.262 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.2696, allocations: 14.72 kB / 405.4 MB, free: 3.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.2709, allocations: 1.248 MB / 406.6 MB, free: 1.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.2713, allocations: 0.6883 MB / 407.3 MB, free: 1.195 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.926e-05/0.2713, allocations: 4.031 kB / 407.3 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.2714, allocations: 15.44 kB / 407.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2714, allocations: 0 / 407.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.2935, allocations: 1.37 MB / 408.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.238, allocations: 12.19 kB / 408.7 MB, free: 15.93 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches