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.001105/0.001105, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.00132/0.00132, allocations: 196 kB / 18 MB, free: 5.105 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.415/1.415, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 47.91 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2729, allocations: 49.44 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003159/0.2761, allocations: 1.479 MB / 401.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003884/0.2765, allocations: 138.1 kB / 401.8 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.2766, allocations: 2.781 kB / 401.8 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.113e-05/0.2767, allocations: 3.938 kB / 401.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.2768, allocations: 5.594 kB / 401.9 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.277, allocations: 37.61 kB / 401.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.965e-05/0.2771, allocations: 27.06 kB / 401.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.2772, allocations: 12.56 kB / 401.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.032e-05/0.2773, allocations: 11.44 kB / 401.9 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.116e-05/0.2773, allocations: 17.52 kB / 402 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.2773, allocations: 0 / 402 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.2774, allocations: 4 kB / 402 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.2774, allocations: 11.94 kB / 402 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.2774, allocations: 23.8 kB / 402 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.487e-05/0.2775, allocations: 35.83 kB / 402 MB, free: 7.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2776, allocations: 4 kB / 402 MB, free: 7.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2776, allocations: 0 / 402 MB, free: 7.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2776, allocations: 3.938 kB / 402 MB, free: 7.004 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.0003913/0.278, allocations: 360.9 kB / 402.4 MB, free: 6.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.278, allocations: 12.03 kB / 402.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.2781, allocations: 34.75 kB / 402.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.2781, allocations: 8.844 kB / 402.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.2784, allocations: 191.6 kB / 402.6 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.2784, allocations: 8.375 kB / 402.6 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.2784, allocations: 4.375 kB / 402.6 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.2787, allocations: 89.52 kB / 402.7 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2787, allocations: 3.938 kB / 402.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.2787, allocations: 0 / 402.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2787, allocations: 0 / 402.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.274e-05/0.2788, allocations: 19.94 kB / 402.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.2791, allocations: 257.8 kB / 403 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.604e-05/0.2792, allocations: 45.09 kB / 403.1 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.2792, allocations: 17.77 kB / 403.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.2793, allocations: 4 kB / 403.1 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.2793, allocations: 38.56 kB / 403.1 MB, free: 5.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 2.264e-06/0.2793, allocations: 0 / 403.1 MB, free: 5.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002161/0.2796, allocations: 53.62 kB / 403.2 MB, free: 5.676 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.2796, allocations: 77.11 kB / 403.2 MB, free: 5.582 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.2797, allocations: 138 kB / 403.4 MB, free: 5.438 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.2798, allocations: 25.7 kB / 403.4 MB, free: 5.406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.2798, allocations: 84.14 kB / 403.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.535e-06/0.2798, allocations: 0 / 403.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.2799, allocations: 21.7 kB / 403.5 MB, free: 5.293 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.28, allocations: 310.8 kB / 403.8 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.341e-05/0.28, allocations: 11.94 kB / 403.8 MB, free: 4.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-05/0.2801, allocations: 25.64 kB / 403.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.305e-05/0.2801, allocations: 21.72 kB / 403.9 MB, free: 4.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2801, allocations: 3.938 kB / 403.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.721e-05/0.2802, allocations: 49.53 kB / 403.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2803, allocations: 4 kB / 403.9 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2803, allocations: 4 kB / 403.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.2803, allocations: 128 / 403.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.486e-05/0.2803, allocations: 4 kB / 403.9 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2803, allocations: 0 / 403.9 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.2804, allocations: 8 kB / 403.9 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.2804, allocations: 0 / 403.9 MB, free: 4.832 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 8.485e-05/0.2805, allocations: 117.8 kB / 404.1 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.2805, allocations: 41.64 kB / 404.1 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.2806, allocations: 7.516 kB / 404.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2806, allocations: 7.938 kB / 404.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2806, allocations: 4.031 kB / 404.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2806, allocations: 0 / 404.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.2807, allocations: 165.6 kB / 404.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2807, allocations: 0 / 404.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.212e-06/0.2808, allocations: 0 / 404.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.2808, allocations: 7.984 kB / 404.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2808, allocations: 0 / 404.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2808, allocations: 4 kB / 404.3 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2808, allocations: 0 / 404.3 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.2809, allocations: 164.2 kB / 404.4 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.281, allocations: 93 kB / 404.5 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.281, allocations: 0 / 404.5 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.603e-05/0.2811, allocations: 0 / 404.5 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.2811, allocations: 4 kB / 404.5 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.2811, allocations: 0 / 404.5 MB, free: 4.121 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.797e-05/0.2812, allocations: 103.3 kB / 404.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2812, allocations: 32 / 404.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002132/0.2814, allocations: 4 kB / 404.6 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.0004273/0.2819, allocations: 0.6936 MB / 405.3 MB, free: 3.293 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.282, allocations: 27.95 kB / 405.4 MB, free: 3.266 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.282, allocations: 0 / 405.4 MB, free: 3.266 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.52e-05/0.282, allocations: 7.938 kB / 405.4 MB, free: 3.258 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.2824, allocations: 23.36 kB / 405.4 MB, free: 3.242 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.2836, allocations: 1.241 MB / 406.6 MB, free: 1.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.2838, allocations: 0.6961 MB / 407.3 MB, free: 1.188 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.102e-05/0.2838, allocations: 0 / 407.3 MB, free: 1.188 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.2839, allocations: 15.44 kB / 407.4 MB, free: 1.172 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2839, allocations: 0 / 407.4 MB, free: 1.172 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.3025, allocations: 1.379 MB / 408.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.655/9.957, allocations: 3.094 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