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.00135/0.00135, allocations: 84.94 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.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.001472/0.001472, allocations: 167.9 kB / 23.95 MB, free: 4.16 MB / 14.72 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.459/1.459, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 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.313e-06/1.313e-06, allocations: 0 / 325.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.803e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001966/0.001994, allocations: 0.8914 MB / 326 MB, free: 20 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004212/0.002415, allocations: 114.4 kB / 326.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.002497, allocations: 2.25 kB / 326.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.304e-05/0.00257, allocations: 4.641 kB / 326.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.002707, allocations: 14.7 kB / 326.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.002953, allocations: 38.88 kB / 326.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.003066, allocations: 40.42 kB / 326.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.003172, allocations: 12.31 kB / 326.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.003234, allocations: 30.23 kB / 326.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.215e-05/0.003266, allocations: 10.34 kB / 326.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.003297, allocations: 4.344 kB / 326.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.00331, allocations: 3.281 kB / 326.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.003364, allocations: 19.91 kB / 326.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.003397, allocations: 9.328 kB / 326.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.003608, allocations: 53.48 kB / 326.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.003611, allocations: 0 / 326.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.003612, allocations: 0.75 kB / 326.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.003616, allocations: 0 / 326.3 MB, free: 15.83 MB / 302.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.0004763/0.004092, allocations: 292.5 kB / 326.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.004133, allocations: 13.78 kB / 326.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.00417, allocations: 9.406 kB / 326.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.004434, allocations: 138.8 kB / 326.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.004443, allocations: 5.688 kB / 326.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.00446, allocations: 4.469 kB / 326.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.004753, allocations: 124.3 kB / 326.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.004762, allocations: 4.188 kB / 326.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.004773, allocations: 8.312 kB / 326.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.004777, allocations: 1.656 kB / 326.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.942e-05/0.004827, allocations: 19.64 kB / 326.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.004973, allocations: 113.6 kB / 327 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.00511, allocations: 61.58 kB / 327.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.019e-05/0.00517, allocations: 32.48 kB / 327.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.005181, allocations: 5.219 kB / 327.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.005211, allocations: 35.91 kB / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.005212, allocations: 0 / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002007/0.005413, allocations: 88.72 kB / 327.2 MB, free: 15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.005469, allocations: 58.16 kB / 327.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.0056, allocations: 139 kB / 327.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.005618, allocations: 26.64 kB / 327.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.005669, allocations: 85.81 kB / 327.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.005681, allocations: 5.875 kB / 327.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.005714, allocations: 23.38 kB / 327.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.005856, allocations: 313.1 kB / 327.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.005869, allocations: 6.828 kB / 327.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-06/0.005876, allocations: 2 kB / 327.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.657e-05/0.005903, allocations: 17.09 kB / 327.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005904, allocations: 1.094 kB / 327.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.693e-05/0.005971, allocations: 44.31 kB / 327.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.005983, allocations: 4.875 kB / 328 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.005987, allocations: 0 / 328 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.006004, allocations: 1.812 kB / 328 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-06/0.006013, allocations: 0 / 328 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.006018, allocations: 1.625 kB / 328 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.006034, allocations: 3.938 kB / 328 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.006039, allocations: 5.219 kB / 328 MB, free: 14.3 MB / 302.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 0.0001015/0.00614, allocations: 121.5 kB / 328.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.006247, allocations: 72.41 kB / 328.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.006282, allocations: 12.97 kB / 328.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.006285, allocations: 1.781 kB / 328.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.006288, allocations: 0 / 328.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.006293, allocations: 4.547 kB / 328.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.355e-05/0.006387, allocations: 114.2 kB / 328.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.006388, allocations: 0 / 328.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.114e-05/0.006399, allocations: 1.875 kB / 328.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.006403, allocations: 5.094 kB / 328.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.006413, allocations: 5.781 kB / 328.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.006414, allocations: 0 / 328.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006415, allocations: 1 kB / 328.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.006552, allocations: 102.2 kB / 328.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.006589, allocations: 16.94 kB / 328.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.006605, allocations: 2.359 kB / 328.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.804e-05/0.006623, allocations: 3.984 kB / 328.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-06/0.00663, allocations: 1.031 kB / 328.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.006634, allocations: 1.094 kB / 328.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.755e-05/0.006712, allocations: 103.5 kB / 328.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.006712, allocations: 4 kB / 328.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001807/0.006893, allocations: 4.688 kB / 328.5 MB, free: 13.79 MB / 302.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.0001302/0.007023, allocations: 117.1 kB / 328.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.644e-05/0.007119, allocations: 27.92 kB / 328.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.007121, allocations: 1.25 kB / 328.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.2e-07/0.007122, allocations: 0 / 328.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.007418, allocations: 47.62 kB / 328.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.007704, allocations: 155.1 kB / 328.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.664e-05/0.00778, allocations: 88.05 kB / 329 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.276e-05/0.007793, allocations: 1.984 kB / 329 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.007821, allocations: 16.78 kB / 329 MB, free: 13.43 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.007821, allocations: 0 / 329 MB, free: 13.43 MB / 302.1 MB Notification: Performance of Templates: time 0.003287/0.01111, allocations: 0.6209 MB / 329.6 MB, free: 13.32 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] 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.274063844233751]