Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",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.001245/0.001246, allocations: 107.8 kB / 17.06 MB, free: 5.82 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.001239/0.001239, allocations: 195.9 kB / 18 MB, free: 4.965 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.448/1.448, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 47.92 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3014, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003233/0.3047, allocations: 1.413 MB / 401.6 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002155/0.3049, allocations: 34.41 kB / 401.7 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.801e-05/0.305, allocations: 0.9062 kB / 401.7 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.305, allocations: 3.938 kB / 401.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.948e-05/0.3051, allocations: 5 kB / 401.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.3054, allocations: 19.47 kB / 401.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.794e-05/0.3055, allocations: 38.55 kB / 401.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.3056, allocations: 4.531 kB / 401.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.467e-05/0.3056, allocations: 16.36 kB / 401.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.947e-05/0.3057, allocations: 14.2 kB / 401.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.3057, allocations: 2.688 kB / 401.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.3057, allocations: 2.656 kB / 401.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.3057, allocations: 9.047 kB / 401.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.3058, allocations: 11.78 kB / 401.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.927e-05/0.3059, allocations: 25.31 kB / 401.8 MB, free: 7.188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3059, allocations: 5.031 kB / 401.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.3059, allocations: 3.984 kB / 401.8 MB, free: 7.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3059, allocations: 0 / 401.8 MB, free: 7.18 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005462/0.3065, allocations: 344.1 kB / 402.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3065, allocations: 13.67 kB / 402.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.3066, allocations: 35.86 kB / 402.2 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.312e-05/0.3066, allocations: 2.25 kB / 402.2 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.3068, allocations: 186.7 kB / 402.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.3069, allocations: 1.531 kB / 402.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.3069, allocations: 6.5 kB / 402.4 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.3072, allocations: 116.5 kB / 402.5 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3073, allocations: 3.938 kB / 402.5 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-06/0.3073, allocations: 0 / 402.5 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3073, allocations: 0 / 402.5 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.3074, allocations: 23.98 kB / 402.6 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.3076, allocations: 157.7 kB / 402.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.3078, allocations: 54.53 kB / 402.8 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.468e-05/0.3079, allocations: 20.89 kB / 402.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.3079, allocations: 4 kB / 402.8 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.3079, allocations: 34.56 kB / 402.8 MB, free: 6.062 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 3.717e-06/0.3079, allocations: 3.984 kB / 402.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002746/0.3082, allocations: 77.59 kB / 402.9 MB, free: 5.977 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.3083, allocations: 59.34 kB / 403 MB, free: 5.906 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.399e-05/0.3084, allocations: 106 kB / 403.1 MB, free: 5.793 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.3084, allocations: 25.7 kB / 403.1 MB, free: 5.762 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.3085, allocations: 84.14 kB / 403.2 MB, free: 5.676 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.3085, allocations: 11.89 kB / 403.2 MB, free: 5.664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.3085, allocations: 17.72 kB / 403.2 MB, free: 5.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.3087, allocations: 314.8 kB / 403.5 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/0.3087, allocations: 8 kB / 403.5 MB, free: 5.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.031e-05/0.3088, allocations: 31.5 kB / 403.5 MB, free: 5.273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.019e-05/0.3088, allocations: 39.36 kB / 403.6 MB, free: 5.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3089, allocations: 3.938 kB / 403.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.325e-05/0.309, allocations: 61.64 kB / 403.6 MB, free: 5.152 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.309, allocations: 11.92 kB / 403.7 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.309, allocations: 0 / 403.7 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.309, allocations: 4 kB / 403.7 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.596e-05/0.3091, allocations: 7.938 kB / 403.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3091, allocations: 0 / 403.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.3091, allocations: 0 / 403.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.3091, allocations: 4 kB / 403.7 MB, free: 5.125 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.998e-05/0.3092, allocations: 118 kB / 403.8 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.3094, allocations: 65.56 kB / 403.9 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.3094, allocations: 7.5 kB / 403.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3094, allocations: 0 / 403.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3094, allocations: 0 / 403.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3094, allocations: 0 / 403.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.3096, allocations: 157.7 kB / 404 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3096, allocations: 0 / 404 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.3096, allocations: 7.938 kB / 404 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3096, allocations: 3.938 kB / 404 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.3096, allocations: 8 kB / 404 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3097, allocations: 0 / 404 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3097, allocations: 3.984 kB / 404 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.3098, allocations: 85.09 kB / 404.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/0.3099, allocations: 85.06 kB / 404.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.3099, allocations: 3.938 kB / 404.2 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.9e-05/0.31, allocations: 7.938 kB / 404.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-06/0.31, allocations: 4 kB / 404.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.31, allocations: 4 kB / 404.2 MB, free: 4.469 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.554e-05/0.3101, allocations: 87.39 kB / 404.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3101, allocations: 0 / 404.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002045/0.3103, allocations: 4 kB / 404.3 MB, free: 4.379 MB / 318.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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0007036/0.311, allocations: 0.6475 MB / 405 MB, free: 3.699 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.3111, allocations: 31.92 kB / 405 MB, free: 3.668 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3112, allocations: 0 / 405 MB, free: 3.668 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.3112, allocations: 0 / 405 MB, free: 3.668 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.3114, allocations: 32.17 kB / 405 MB, free: 3.637 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.3126, allocations: 1.166 MB / 406.2 MB, free: 2.371 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.3129, allocations: 0.6949 MB / 406.9 MB, free: 1.652 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.611e-05/0.3129, allocations: 0 / 406.9 MB, free: 1.652 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.313, allocations: 11.44 kB / 406.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.313, allocations: 0 / 406.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.3369, allocations: 1.29 MB / 408.2 MB, free: 496 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.84/8.177, allocations: 8.672 kB / 408.2 MB, free: 488 kB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches