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.001535/0.001535, allocations: 110.6 kB / 17.06 MB, free: 5.98 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.001929/0.001929, allocations: 195 kB / 18 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.163/2.163, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 51.92 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4265, allocations: 49.44 MB / 400.2 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.003393/0.4299, allocations: 0.8577 MB / 401.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004978/0.4305, allocations: 117 kB / 401.2 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.4306, allocations: 1.281 kB / 401.2 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.195e-05/0.4307, allocations: 7.922 kB / 401.2 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.4309, allocations: 6.062 kB / 401.2 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.4313, allocations: 37.89 kB / 401.3 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.4314, allocations: 35.61 kB / 401.3 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.4316, allocations: 28.62 kB / 401.3 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.633e-05/0.4316, allocations: 12.91 kB / 401.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.4317, allocations: 19.7 kB / 401.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.4317, allocations: 3.281 kB / 401.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.877e-05/0.4318, allocations: 3.5 kB / 401.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.924e-05/0.4318, allocations: 16.83 kB / 401.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.098e-05/0.4319, allocations: 27.86 kB / 401.4 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.4321, allocations: 52.59 kB / 401.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4321, allocations: 0 / 401.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4321, allocations: 0 / 401.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.4321, allocations: 5.125 kB / 401.5 MB, free: 7.484 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.0005642/0.4327, allocations: 366.6 kB / 401.8 MB, free: 7.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.4328, allocations: 10.03 kB / 401.8 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.361e-05/0.4329, allocations: 44.98 kB / 401.9 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.4329, allocations: 8.344 kB / 401.9 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.4333, allocations: 194.2 kB / 402.1 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.4333, allocations: 2.688 kB / 402.1 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.4333, allocations: 7.812 kB / 402.1 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.4338, allocations: 137.2 kB / 402.2 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.4338, allocations: 3.938 kB / 402.2 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.4338, allocations: 3.938 kB / 402.2 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4339, allocations: 0 / 402.2 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.617e-05/0.4339, allocations: 15.98 kB / 402.2 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.4342, allocations: 173.7 kB / 402.4 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.4344, allocations: 66.66 kB / 402.5 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.142e-05/0.4345, allocations: 44.88 kB / 402.5 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.4345, allocations: 0 / 402.5 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.4345, allocations: 38.5 kB / 402.6 MB, free: 6.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.4345, allocations: 0 / 402.6 MB, free: 6.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002742/0.4348, allocations: 93.52 kB / 402.7 MB, free: 6.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.4349, allocations: 55.41 kB / 402.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.4351, allocations: 133.7 kB / 402.8 MB, free: 5.973 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.4351, allocations: 29.7 kB / 402.9 MB, free: 5.938 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.4352, allocations: 84.08 kB / 402.9 MB, free: 5.852 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.4352, allocations: 8 kB / 403 MB, free: 5.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.4353, allocations: 25.7 kB / 403 MB, free: 5.812 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4354, allocations: 314.8 kB / 403.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.142e-05/0.4355, allocations: 15.98 kB / 403.3 MB, free: 5.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.811e-05/0.4356, allocations: 54.88 kB / 403.4 MB, free: 5.402 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.4357, allocations: 74.73 kB / 403.4 MB, free: 5.305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4357, allocations: 0 / 403.4 MB, free: 5.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002108/0.4359, allocations: 89.44 kB / 403.5 MB, free: 5.211 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.436, allocations: 11.94 kB / 403.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.436, allocations: 0 / 403.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.436, allocations: 4 kB / 403.5 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.161e-05/0.4361, allocations: 11.98 kB / 403.5 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.4361, allocations: 0 / 403.5 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.918e-05/0.4361, allocations: 7.938 kB / 403.6 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.4362, allocations: 4.312 kB / 403.6 MB, free: 5.172 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.0001371/0.4363, allocations: 129.4 kB / 403.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.4365, allocations: 81.5 kB / 403.8 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/0.4365, allocations: 12.38 kB / 403.8 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4365, allocations: 0 / 403.8 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4365, allocations: 3.984 kB / 403.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4366, allocations: 0 / 403.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.4367, allocations: 165.7 kB / 403.9 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4367, allocations: 3.938 kB / 403.9 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.809e-05/0.4368, allocations: 8 kB / 404 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4368, allocations: 7.875 kB / 404 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.4368, allocations: 4 kB / 404 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4368, allocations: 0 / 404 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.4368, allocations: 0 / 404 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.437, allocations: 97.02 kB / 404.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.451e-05/0.4371, allocations: 93.19 kB / 404.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.4372, allocations: 7.938 kB / 404.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.332e-05/0.4372, allocations: 11.94 kB / 404.2 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-06/0.4372, allocations: 0 / 404.2 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.4372, allocations: 4 kB / 404.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.917e-05/0.4373, allocations: 99.27 kB / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4373, allocations: 0 / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004118/0.4378, allocations: 12 kB / 404.3 MB, free: 4.348 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.0006455/0.4384, allocations: 0.667 MB / 404.9 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.4386, allocations: 47.91 kB / 405 MB, free: 3.605 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4386, allocations: 4 kB / 405 MB, free: 3.602 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-07/0.4386, allocations: 0 / 405 MB, free: 3.602 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.4391, allocations: 46.98 kB / 405 MB, free: 3.559 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.4409, allocations: 1.329 MB / 406.4 MB, free: 2.109 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.4414, allocations: 0.7039 MB / 407.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.758e-05/0.4415, allocations: 4 kB / 407.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.595e-05/0.4415, allocations: 19.42 kB / 407.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of SimCode: time 4.5e-07/0.4415, allocations: 0 / 407.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.4675, allocations: 1.704 MB / 408.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.69, allocations: 4.562 kB / 408.8 MB, free: 15.76 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