Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",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.001141/0.001141, allocations: 106.2 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.001189/0.001189, allocations: 195 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.86/1.86, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 51.92 kB / 350.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4795/0.4813, allocations: 49.45 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.004168/0.4856, allocations: 0.8607 MB / 401.1 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006143/0.4862, allocations: 114.1 kB / 401.2 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.4864, allocations: 1.406 kB / 401.2 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.977e-05/0.4866, allocations: 15.92 kB / 401.2 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.4868, allocations: 5.062 kB / 401.2 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.4871, allocations: 34.53 kB / 401.3 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.4873, allocations: 39.78 kB / 401.3 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.4874, allocations: 20.08 kB / 401.3 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.859e-05/0.4875, allocations: 17.2 kB / 401.3 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.581e-05/0.4876, allocations: 20.03 kB / 401.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.4876, allocations: 2.719 kB / 401.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.713e-05/0.4876, allocations: 8.312 kB / 401.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.4877, allocations: 15.48 kB / 401.4 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.4878, allocations: 28.64 kB / 401.4 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.488, allocations: 56.84 kB / 401.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.488, allocations: 0 / 401.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.488, allocations: 0 / 401.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.488, allocations: 1.125 kB / 401.5 MB, free: 7.516 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005774/0.4886, allocations: 371.1 kB / 401.8 MB, free: 7.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.4887, allocations: 9.969 kB / 401.8 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.841e-05/0.4887, allocations: 35.84 kB / 401.9 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.4888, allocations: 13.34 kB / 401.9 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.4892, allocations: 194.4 kB / 402.1 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.4892, allocations: 2.656 kB / 402.1 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.4893, allocations: 3.969 kB / 402.1 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/0.4897, allocations: 134.1 kB / 402.2 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.4897, allocations: 3.938 kB / 402.2 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.4897, allocations: 3.938 kB / 402.2 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.4897, allocations: 4 kB / 402.2 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.416e-05/0.4898, allocations: 15.98 kB / 402.2 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.49, allocations: 165.7 kB / 402.4 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.4902, allocations: 66.66 kB / 402.5 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.4903, allocations: 44.89 kB / 402.5 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.4904, allocations: 0 / 402.5 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.4904, allocations: 30.56 kB / 402.5 MB, free: 6.328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.4904, allocations: 0 / 402.5 MB, free: 6.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003116/0.4907, allocations: 93.69 kB / 402.6 MB, free: 6.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/0.4908, allocations: 55.41 kB / 402.7 MB, free: 6.164 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.491, allocations: 133.7 kB / 402.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.491, allocations: 37.7 kB / 402.9 MB, free: 5.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.4911, allocations: 80.14 kB / 402.9 MB, free: 5.898 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.4911, allocations: 4 kB / 402.9 MB, free: 5.895 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-05/0.4912, allocations: 25.7 kB / 403 MB, free: 5.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4914, allocations: 318.8 kB / 403.3 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.155e-05/0.4914, allocations: 7.984 kB / 403.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.537e-05/0.4915, allocations: 66.88 kB / 403.3 MB, free: 5.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.4916, allocations: 78.73 kB / 403.4 MB, free: 5.344 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4917, allocations: 0 / 403.4 MB, free: 5.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001987/0.4919, allocations: 85.41 kB / 403.5 MB, free: 5.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.4919, allocations: 11.94 kB / 403.5 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.4919, allocations: 3.984 kB / 403.5 MB, free: 5.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.492, allocations: 8.25 kB / 403.5 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.608e-05/0.492, allocations: 3.984 kB / 403.5 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.492, allocations: 7.938 kB / 403.5 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.4921, allocations: 11.94 kB / 403.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.4921, allocations: 4 kB / 403.6 MB, free: 5.203 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001349/0.4923, allocations: 121.2 kB / 403.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.4924, allocations: 73.53 kB / 403.8 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.944e-05/0.4925, allocations: 12.31 kB / 403.8 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.942e-05/0.4925, allocations: 15.97 kB / 403.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4925, allocations: 4 kB / 403.8 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4926, allocations: 0 / 403.8 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.4927, allocations: 165.7 kB / 403.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4928, allocations: 3.938 kB / 403.9 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/0.4928, allocations: 0 / 403.9 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/0.4928, allocations: 7.938 kB / 404 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.4928, allocations: 4 kB / 404 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.4928, allocations: 3.984 kB / 404 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4928, allocations: 0 / 404 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.493, allocations: 97.03 kB / 404.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.4931, allocations: 93 kB / 404.1 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.4932, allocations: 3.938 kB / 404.2 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.79e-05/0.4932, allocations: 7.938 kB / 404.2 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-06/0.4932, allocations: 0 / 404.2 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.4932, allocations: 4 kB / 404.2 MB, free: 4.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.928e-05/0.4934, allocations: 99.27 kB / 404.3 MB, free: 4.402 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4934, allocations: 0 / 404.3 MB, free: 4.402 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003447/0.4937, allocations: 8 kB / 404.3 MB, free: 4.395 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0007218/0.4944, allocations: 0.667 MB / 404.9 MB, free: 3.699 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.4947, allocations: 47.86 kB / 405 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.361e-06/0.4947, allocations: 0.5625 kB / 405 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.4947, allocations: 4 kB / 405 MB, free: 3.648 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.4952, allocations: 51.45 kB / 405 MB, free: 3.602 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.4973, allocations: 1.325 MB / 406.4 MB, free: 2.152 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.4977, allocations: 0.7039 MB / 407.1 MB, free: 1.422 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.328e-05/0.4978, allocations: 4 kB / 407.1 MB, free: 1.418 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.72e-05/0.4979, allocations: 19.42 kB / 407.1 MB, free: 1.398 MB / 318.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4979, allocations: 0 / 407.1 MB, free: 1.398 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.5235, allocations: 1.727 MB / 408.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/15.59, allocations: 10.14 kB / 408.8 MB, free: 15.79 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches