Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00248/0.00248, allocations: 95.61 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003034/0.003034, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.608/1.608, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.592e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002293/0.002319, allocations: 0.8886 MB / 273.2 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003766/0.002696, allocations: 111.6 kB / 273.3 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.944e-05/0.002765, allocations: 7.938 kB / 273.3 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.026e-05/0.002826, allocations: 7.922 kB / 273.3 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.002937, allocations: 7.938 kB / 273.3 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.003144, allocations: 35.89 kB / 273.4 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.00325, allocations: 39.86 kB / 273.4 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.003343, allocations: 23.91 kB / 273.4 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.004e-05/0.003403, allocations: 23.92 kB / 273.4 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.637e-05/0.00344, allocations: 11.98 kB / 273.5 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.003464, allocations: 4 kB / 273.5 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.237e-05/0.003486, allocations: 4 kB / 273.5 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.773e-05/0.003544, allocations: 19.91 kB / 273.5 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.003577, allocations: 7.938 kB / 273.5 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.003719, allocations: 59.83 kB / 273.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.003721, allocations: 0 / 273.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003722, allocations: 0 / 273.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.003727, allocations: 0 / 273.6 MB, free: 0.5898 MB / 250.7 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.0004991/0.004226, allocations: 400 kB / 273.9 MB, free: 164 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.004259, allocations: 8.031 kB / 274 MB, free: 156 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.00446, allocations: 16.89 kB / 274 MB, free: 140 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.004705, allocations: 144 kB / 274.1 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.00472, allocations: 4.375 kB / 274.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.004732, allocations: 4.375 kB / 274.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.005041, allocations: 141.4 kB / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.005051, allocations: 192 / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.00506, allocations: 384 / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.005067, allocations: 4.125 kB / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.78e-05/0.005115, allocations: 19.94 kB / 274.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.00529, allocations: 132.5 kB / 274.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.005474, allocations: 71.25 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.846e-05/0.005543, allocations: 39.67 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.005561, allocations: 4 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.005596, allocations: 41.31 kB / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.005597, allocations: 4 kB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002212/0.005818, allocations: 85.64 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.005881, allocations: 55.41 kB / 274.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.006063, allocations: 201.8 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.006085, allocations: 25.7 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.006169, allocations: 130.9 kB / 275.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.006184, allocations: 11.89 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.006237, allocations: 27.36 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002854/0.006522, allocations: 0.4884 MB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.006533, allocations: 0 / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.506e-05/0.006548, allocations: 11.94 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.211e-05/0.00658, allocations: 15.69 kB / 275.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.006581, allocations: 0 / 275.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.852e-05/0.00665, allocations: 37.69 kB / 275.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.006663, allocations: 4 kB / 275.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.006667, allocations: 0 / 275.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.00668, allocations: 4 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.407e-05/0.006695, allocations: 4 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.006702, allocations: 3.938 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.548e-05/0.006718, allocations: 3.984 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-06/0.006722, allocations: 4.094 kB / 275.7 MB, free: 14.26 MB / 266.7 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 0.0001303/0.006852, allocations: 164.5 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.006962, allocations: 77.62 kB / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/0.007002, allocations: 8.438 kB / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.007006, allocations: 4 kB / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.007009, allocations: 0 / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.007017, allocations: 7.922 kB / 275.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.007144, allocations: 128.6 kB / 276 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007146, allocations: 0 / 276 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.007161, allocations: 8 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.007162, allocations: 4 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.007169, allocations: 0 / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.00717, allocations: 0 / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007171, allocations: 0 / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.007343, allocations: 116.3 kB / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.007386, allocations: 19.94 kB / 276.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.007401, allocations: 0 / 276.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.408e-05/0.007415, allocations: 0 / 276.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-06/0.007418, allocations: 0 / 276.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.007425, allocations: 4 kB / 276.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.007526, allocations: 143.2 kB / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.007526, allocations: 4 kB / 276.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001763/0.007702, allocations: 11.88 kB / 276.4 MB, free: 13.5 MB / 266.7 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.0001201/0.007822, allocations: 107.2 kB / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.007928, allocations: 31.62 kB / 276.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.00793, allocations: 0 / 276.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.00793, allocations: 0 / 276.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.008229, allocations: 41.05 kB / 276.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.008538, allocations: 175.6 kB / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.577e-05/0.008624, allocations: 87.56 kB / 276.8 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.193e-05/0.008636, allocations: 0 / 276.8 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.008669, allocations: 12.5 kB / 276.8 MB, free: 13 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008669, allocations: 3.938 kB / 276.8 MB, free: 13 MB / 266.7 MB Notification: Performance of Templates: time 0.003286/0.01196, allocations: 0.6295 MB / 277.4 MB, free: 12.38 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.396747544989921]