Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",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.002092/0.002092, allocations: 103.8 kB / 17.06 MB, free: 6.016 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.002528/0.002528, allocations: 195 kB / 18 MB, free: 5.094 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.979/1.979, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 51.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.28, allocations: 49.42 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002827/0.2828, allocations: 1.502 MB / 401.7 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003727/0.2832, allocations: 143.3 kB / 401.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.2833, allocations: 1.875 kB / 401.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.221e-05/0.2834, allocations: 3.938 kB / 401.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.2835, allocations: 9.922 kB / 401.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.2838, allocations: 34.16 kB / 401.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.661e-05/0.2839, allocations: 36.33 kB / 402 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.284, allocations: 14.55 kB / 402 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.31e-05/0.284, allocations: 14.47 kB / 402 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.977e-05/0.284, allocations: 15.92 kB / 402 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.2841, allocations: 4 kB / 402 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.2841, allocations: 4 kB / 402 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.2841, allocations: 15.91 kB / 402 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.2842, allocations: 19.88 kB / 402 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.2843, allocations: 47.77 kB / 402.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2843, allocations: 0 / 402.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2843, allocations: 0 / 402.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.2843, allocations: 0 / 402.1 MB, free: 6.969 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004125/0.2847, allocations: 364.9 kB / 402.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2848, allocations: 12.03 kB / 402.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.2848, allocations: 34.75 kB / 402.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.2848, allocations: 8.844 kB / 402.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.2851, allocations: 196.1 kB / 402.7 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.2851, allocations: 4.375 kB / 402.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.2851, allocations: 8.359 kB / 402.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.2854, allocations: 117.5 kB / 402.8 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2854, allocations: 3.938 kB / 402.8 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.2855, allocations: 0 / 402.8 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2855, allocations: 3.938 kB / 402.8 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.915e-05/0.2855, allocations: 15.98 kB / 402.8 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.2858, allocations: 257.8 kB / 403.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.286, allocations: 138.2 kB / 403.2 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.2861, allocations: 25.77 kB / 403.3 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.2861, allocations: 0 / 403.3 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.2861, allocations: 46.5 kB / 403.3 MB, free: 5.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2862, allocations: 0 / 403.3 MB, free: 5.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002237/0.2864, allocations: 73.52 kB / 403.4 MB, free: 5.461 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.2864, allocations: 77.11 kB / 403.4 MB, free: 5.367 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.2866, allocations: 133.3 kB / 403.6 MB, free: 5.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.2866, allocations: 25.7 kB / 403.6 MB, free: 5.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.2866, allocations: 84.14 kB / 403.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.2867, allocations: 12.03 kB / 403.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.2867, allocations: 21.7 kB / 403.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2868, allocations: 310.8 kB / 404 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.059e-05/0.2868, allocations: 11.92 kB / 404 MB, free: 4.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.819e-05/0.2869, allocations: 31.44 kB / 404.1 MB, free: 4.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.636e-05/0.287, allocations: 43.36 kB / 404.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.287, allocations: 7.938 kB / 404.1 MB, free: 4.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001079/0.2871, allocations: 57.56 kB / 404.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2871, allocations: 8 kB / 404.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2871, allocations: 0 / 404.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2872, allocations: 4.125 kB / 404.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.327e-05/0.2872, allocations: 4 kB / 404.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.2872, allocations: 0 / 404.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.2872, allocations: 8 kB / 404.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.2872, allocations: 0 / 404.2 MB, free: 4.559 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.207e-05/0.2873, allocations: 133.8 kB / 404.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.2874, allocations: 49.53 kB / 404.4 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.2874, allocations: 7.906 kB / 404.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2874, allocations: 0 / 404.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2875, allocations: 8 kB / 404.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2875, allocations: 0 / 404.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.2876, allocations: 173.9 kB / 404.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.2876, allocations: 0 / 404.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.285e-06/0.2877, allocations: 0 / 404.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2877, allocations: 4 kB / 404.6 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.2877, allocations: 0 / 404.6 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2877, allocations: 0 / 404.6 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2877, allocations: 0 / 404.6 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.2879, allocations: 180.2 kB / 404.7 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.2879, allocations: 92.94 kB / 404.8 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.288, allocations: 4 kB / 404.8 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.487e-05/0.288, allocations: 0 / 404.8 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.2881, allocations: 0 / 404.8 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.2881, allocations: 8 kB / 404.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.692e-05/0.2881, allocations: 99.25 kB / 404.9 MB, free: 3.703 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2881, allocations: 0 / 404.9 MB, free: 3.703 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.2884, allocations: 12 kB / 404.9 MB, free: 3.691 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000453/0.2888, allocations: 0.6936 MB / 405.6 MB, free: 2.969 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.289, allocations: 27.98 kB / 405.7 MB, free: 2.941 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.289, allocations: 3.938 kB / 405.7 MB, free: 2.938 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.966e-05/0.289, allocations: 15.92 kB / 405.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.2894, allocations: 16.03 kB / 405.7 MB, free: 2.906 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.2907, allocations: 1.303 MB / 407 MB, free: 1.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.291, allocations: 0.6883 MB / 407.7 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.498e-05/0.2911, allocations: 3.984 kB / 407.7 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.2911, allocations: 15.44 kB / 407.7 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of SimCode: time 2.725e-06/0.2911, allocations: 0 / 407.7 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.3092, allocations: 1.491 MB / 409.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.491/8.8, allocations: 7.609 kB / 409.2 MB, free: 15.38 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches