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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 81.73 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 145.3 kB / 23.93 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.85e-05, allocations: 3.438 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001804/0.001832, allocations: 0.8485 MB / 319.8 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003372/0.00217, allocations: 129.3 kB / 319.9 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.868e-05/0.002248, allocations: 1.688 kB / 319.9 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.07e-05/0.002339, allocations: 9.938 kB / 319.9 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.002463, allocations: 12.97 kB / 319.9 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.002662, allocations: 37.25 kB / 319.9 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.002791, allocations: 42.77 kB / 320 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.002908, allocations: 21.02 kB / 320 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.869e-05/0.002956, allocations: 21.2 kB / 320 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.251e-05/0.003029, allocations: 15.55 kB / 320 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.003052, allocations: 7.781 kB / 320.1 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.003066, allocations: 2.531 kB / 320.1 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.003113, allocations: 22.41 kB / 320.1 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.003148, allocations: 16.39 kB / 320.1 MB, free: 2.867 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.003267, allocations: 58.64 kB / 320.2 MB, free: 2.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003269, allocations: 1.094 kB / 320.2 MB, free: 2.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.62e-07/0.00327, allocations: 0 / 320.2 MB, free: 2.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.003274, allocations: 3.938 kB / 320.2 MB, free: 2.836 MB / 286.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.000379/0.003653, allocations: 305.4 kB / 320.5 MB, free: 2.535 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.00369, allocations: 11.89 kB / 320.5 MB, free: 2.535 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.003725, allocations: 13.7 kB / 320.5 MB, free: 2.527 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.003896, allocations: 135.1 kB / 320.6 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.003908, allocations: 2.781 kB / 320.6 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.003924, allocations: 4.438 kB / 320.6 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.00422, allocations: 148.9 kB / 320.8 MB, free: 2.297 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.004232, allocations: 192 / 320.8 MB, free: 2.297 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.004241, allocations: 384 / 320.8 MB, free: 2.297 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.004247, allocations: 6.328 kB / 320.8 MB, free: 2.293 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.158e-05/0.004299, allocations: 27.48 kB / 320.8 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/0.004401, allocations: 119.6 kB / 320.9 MB, free: 2.148 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.004551, allocations: 73.16 kB / 321 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.579e-05/0.004617, allocations: 39.62 kB / 321 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.004631, allocations: 1.781 kB / 321 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.00465, allocations: 33.78 kB / 321.1 MB, free: 2.047 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.004651, allocations: 0 / 321.1 MB, free: 2.047 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.000201/0.004852, allocations: 105.9 kB / 321.2 MB, free: 1.984 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.004891, allocations: 54.09 kB / 321.2 MB, free: 1.922 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.004994, allocations: 149.7 kB / 321.4 MB, free: 1.801 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.005001, allocations: 25.7 kB / 321.4 MB, free: 1.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.562e-05/0.005027, allocations: 87.94 kB / 321.5 MB, free: 1.684 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.083e-05/0.005038, allocations: 1.844 kB / 321.5 MB, free: 1.684 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.005067, allocations: 24.25 kB / 321.5 MB, free: 1.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.024e-05/0.005117, allocations: 313.5 kB / 321.8 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/0.005129, allocations: 2.094 kB / 321.8 MB, free: 1.348 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-06/0.005138, allocations: 6.219 kB / 321.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.209e-05/0.00516, allocations: 9.766 kB / 321.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.005161, allocations: 4.062 kB / 321.8 MB, free: 1.332 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.098e-05/0.005212, allocations: 43.62 kB / 321.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.005225, allocations: 5.797 kB / 321.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.005229, allocations: 1.125 kB / 321.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.005243, allocations: 0 / 321.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.228e-05/0.005285, allocations: 4.656 kB / 321.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.005291, allocations: 3.938 kB / 321.9 MB, free: 1.289 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.329e-05/0.005304, allocations: 3.938 kB / 321.9 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.00531, allocations: 1.906 kB / 321.9 MB, free: 1.285 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.856e-05/0.005368, allocations: 118.7 kB / 322 MB, free: 1.168 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/0.005462, allocations: 96.7 kB / 322.1 MB, free: 1.102 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.005497, allocations: 13.08 kB / 322.1 MB, free: 1.09 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.005498, allocations: 1.375 kB / 322.1 MB, free: 1.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.005502, allocations: 4.547 kB / 322.1 MB, free: 1.086 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.005507, allocations: 4.594 kB / 322.1 MB, free: 1.082 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.345e-05/0.00556, allocations: 116 kB / 322.2 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.005561, allocations: 0 / 322.2 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.431e-05/0.005625, allocations: 13.23 kB / 322.3 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.005628, allocations: 2.141 kB / 322.3 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.005637, allocations: 7.984 kB / 322.3 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.005638, allocations: 5.5 kB / 322.3 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.005639, allocations: 0 / 322.3 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.005758, allocations: 109.6 kB / 322.4 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.005799, allocations: 17.98 kB / 322.4 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.005818, allocations: 9.062 kB / 322.4 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.458e-05/0.005842, allocations: 1.984 kB / 322.4 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-06/0.005845, allocations: 1.062 kB / 322.4 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.00585, allocations: 0.8125 kB / 322.4 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.768e-05/0.005907, allocations: 111.4 kB / 322.5 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.005907, allocations: 0 / 322.5 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001892/0.006097, allocations: 8.625 kB / 322.5 MB, free: 0.7539 MB / 286.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 7.857e-05/0.006175, allocations: 107.9 kB / 322.6 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.917e-05/0.006264, allocations: 21.3 kB / 322.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.006266, allocations: 0 / 322.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.006266, allocations: 0 / 322.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.006576, allocations: 50.22 kB / 322.7 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000284/0.00686, allocations: 179.6 kB / 322.9 MB, free: 496 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.867e-05/0.006929, allocations: 96.53 kB / 323 MB, free: 412 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.6e-05/0.006945, allocations: 3.328 kB / 323 MB, free: 412 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.006968, allocations: 10.72 kB / 323 MB, free: 404 kB / 286.1 MB Notification: Performance of SimCode: time 3.61e-07/0.006969, allocations: 0 / 323 MB, free: 404 kB / 286.1 MB Notification: Performance of Templates: time 0.003271/0.01024, allocations: 0.6968 MB / 323.7 MB, free: 300 kB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.131492968648672]