Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.0018/0.0018, allocations: 105.5 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.002056/0.002056, allocations: 192 kB / 18 MB, free: 5.102 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.435/1.435, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 47.92 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.254, allocations: 49.45 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002255/0.2563, allocations: 0.8437 MB / 401.1 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003666/0.2567, allocations: 119.2 kB / 401.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.763e-05/0.2568, allocations: 1.125 kB / 401.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.2569, allocations: 8.953 kB / 401.2 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.257, allocations: 14.03 kB / 401.2 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.2573, allocations: 42.64 kB / 401.3 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.2574, allocations: 40.98 kB / 401.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.2575, allocations: 21.7 kB / 401.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.212e-05/0.2576, allocations: 17.52 kB / 401.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.345e-05/0.2576, allocations: 18.08 kB / 401.4 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.2577, allocations: 7.594 kB / 401.4 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.2577, allocations: 3.781 kB / 401.4 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.589e-05/0.2577, allocations: 17.42 kB / 401.4 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5e-05/0.2578, allocations: 32.89 kB / 401.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.2579, allocations: 58.83 kB / 401.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2579, allocations: 0 / 401.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2579, allocations: 1.031 kB / 401.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.258, allocations: 0 / 401.5 MB, free: 7.523 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.0005313/0.2585, allocations: 378.3 kB / 401.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2585, allocations: 8.75 kB / 401.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.537e-05/0.2586, allocations: 40.17 kB / 401.9 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.2586, allocations: 13.7 kB / 401.9 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.2589, allocations: 201 kB / 402.1 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.2589, allocations: 6.969 kB / 402.1 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.2589, allocations: 4.156 kB / 402.1 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.2592, allocations: 145 kB / 402.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2592, allocations: 11.94 kB / 402.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2592, allocations: 3.984 kB / 402.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2592, allocations: 0 / 402.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.764e-05/0.2593, allocations: 19.98 kB / 402.3 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.2595, allocations: 181.6 kB / 402.5 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.2597, allocations: 78.69 kB / 402.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.87e-05/0.2597, allocations: 40.84 kB / 402.6 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.2598, allocations: 4 kB / 402.6 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.2598, allocations: 34.56 kB / 402.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.2598, allocations: 0 / 402.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002133/0.26, allocations: 105.7 kB / 402.7 MB, free: 6.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.2601, allocations: 59.34 kB / 402.8 MB, free: 6.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.2602, allocations: 144.6 kB / 402.9 MB, free: 5.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.2602, allocations: 29.7 kB / 403 MB, free: 5.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.2603, allocations: 88.14 kB / 403 MB, free: 5.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.2603, allocations: 4 kB / 403 MB, free: 5.805 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.2604, allocations: 37.59 kB / 403.1 MB, free: 5.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2605, allocations: 310.8 kB / 403.4 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-05/0.2605, allocations: 15.98 kB / 403.4 MB, free: 5.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.796e-05/0.2606, allocations: 58.81 kB / 403.5 MB, free: 5.352 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.411e-05/0.2607, allocations: 78.73 kB / 403.5 MB, free: 5.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2607, allocations: 0 / 403.5 MB, free: 5.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001318/0.2608, allocations: 97.44 kB / 403.6 MB, free: 5.148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2609, allocations: 7.938 kB / 403.6 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2609, allocations: 0 / 403.6 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.2609, allocations: 4 kB / 403.6 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/0.261, allocations: 16.25 kB / 403.7 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.261, allocations: 4 kB / 403.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/0.261, allocations: 11.94 kB / 403.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.261, allocations: 4 kB / 403.7 MB, free: 5.102 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 (sum.y,sum.u[2],sum.u[1],const.y,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.0001224/0.2612, allocations: 125.8 kB / 403.8 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.2613, allocations: 81.58 kB / 403.9 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.2613, allocations: 16.7 kB / 403.9 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2613, allocations: 0 / 403.9 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2613, allocations: 4 kB / 403.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2613, allocations: 4 kB / 403.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.2615, allocations: 169.6 kB / 404.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2615, allocations: 0 / 404.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.233e-05/0.2616, allocations: 15.94 kB / 404.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2616, allocations: 3.938 kB / 404.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2616, allocations: 4 kB / 404.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2616, allocations: 0 / 404.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2616, allocations: 4 kB / 404.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.2618, allocations: 121 kB / 404.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-05/0.2619, allocations: 96.92 kB / 404.3 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.2619, allocations: 4 kB / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.33e-05/0.2619, allocations: 8 kB / 404.3 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-06/0.2619, allocations: 0 / 404.3 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.2619, allocations: 7.922 kB / 404.3 MB, free: 4.344 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.278e-05/0.262, allocations: 103.3 kB / 404.4 MB, free: 4.242 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.262, allocations: 4 kB / 404.4 MB, free: 4.238 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001977/0.2622, allocations: 8 kB / 404.4 MB, free: 4.23 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,const.y,sum.u[1],sum.u[2],sum.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.0005289/0.2628, allocations: 0.6828 MB / 405.1 MB, free: 3.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001237/0.2629, allocations: 47.91 kB / 405.2 MB, free: 3.473 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.2629, allocations: 4.5 kB / 405.2 MB, free: 3.469 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.2629, allocations: 7.938 kB / 405.2 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.2632, allocations: 43.14 kB / 405.2 MB, free: 3.422 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.2644, allocations: 1.372 MB / 406.6 MB, free: 1.926 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.2647, allocations: 0.704 MB / 407.3 MB, free: 1.195 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.697e-05/0.2648, allocations: 8.672 kB / 407.3 MB, free: 1.184 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.2648, allocations: 19.42 kB / 407.3 MB, free: 1.164 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2648, allocations: 0 / 407.3 MB, free: 1.164 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.2861, allocations: 1.817 MB / 409.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.237, allocations: 8.547 kB / 409.2 MB, free: 15.46 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches