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: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001688/0.001688, allocations: 190.5 kB / 17.43 MB, free: 6.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 1.432/1.432, allocations: 222.9 MB / 241.1 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 51.14 kB / 300 MB, free: 6.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1367, allocations: 49.44 MB / 349.4 MB, free: 4.629 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002994/0.1397, allocations: 0.9216 MB / 350.3 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003979/0.1402, allocations: 115.6 kB / 350.4 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1403, allocations: 4 kB / 350.4 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.98e-05/0.1404, allocations: 3.938 kB / 350.4 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.1406, allocations: 4 kB / 350.4 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.1409, allocations: 35.89 kB / 350.5 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.1411, allocations: 43.86 kB / 350.5 MB, free: 3.496 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.1412, allocations: 15.95 kB / 350.5 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.081e-05/0.1412, allocations: 15.92 kB / 350.6 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.566e-05/0.1413, allocations: 19.91 kB / 350.6 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.1413, allocations: 4 kB / 350.6 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.1413, allocations: 0 / 350.6 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.444e-05/0.1414, allocations: 15.92 kB / 350.6 MB, free: 3.426 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.1415, allocations: 27.81 kB / 350.6 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.1416, allocations: 51.8 kB / 350.7 MB, free: 3.348 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1416, allocations: 0 / 350.7 MB, free: 3.348 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1416, allocations: 0 / 350.7 MB, free: 3.348 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1417, allocations: 4 kB / 350.7 MB, free: 3.344 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.0005707/0.1422, allocations: 367.5 kB / 351 MB, free: 2.934 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.1423, allocations: 8.031 kB / 351 MB, free: 2.926 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.1424, allocations: 16.84 kB / 351.1 MB, free: 2.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.1427, allocations: 184.2 kB / 351.2 MB, free: 2.691 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1427, allocations: 8.359 kB / 351.2 MB, free: 2.684 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.1427, allocations: 8.375 kB / 351.3 MB, free: 2.676 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.1431, allocations: 127.8 kB / 351.4 MB, free: 2.539 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1431, allocations: 192 / 351.4 MB, free: 2.539 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.1431, allocations: 11.81 kB / 351.4 MB, free: 2.527 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1431, allocations: 0 / 351.4 MB, free: 2.527 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.424e-05/0.1432, allocations: 19.98 kB / 351.4 MB, free: 2.508 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.1434, allocations: 173.6 kB / 351.6 MB, free: 2.289 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.1436, allocations: 66.7 kB / 351.6 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.1437, allocations: 40.83 kB / 351.7 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1437, allocations: 7.922 kB / 351.7 MB, free: 2.164 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1437, allocations: 34.56 kB / 351.7 MB, free: 2.121 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.1438, allocations: 4 kB / 351.7 MB, free: 2.117 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002402/0.144, allocations: 89.52 kB / 351.8 MB, free: 2.023 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.1441, allocations: 63.39 kB / 351.9 MB, free: 1.949 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.1442, allocations: 137.1 kB / 352 MB, free: 1.809 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.1443, allocations: 25.7 kB / 352 MB, free: 1.777 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.1443, allocations: 84.14 kB / 352.1 MB, free: 1.691 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.1444, allocations: 4 kB / 352.1 MB, free: 1.688 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.1444, allocations: 33.61 kB / 352.2 MB, free: 1.648 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1446, allocations: 314.8 kB / 352.5 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.1446, allocations: 15.92 kB / 352.5 MB, free: 1.316 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/0.1447, allocations: 54.88 kB / 352.5 MB, free: 1.238 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.1448, allocations: 74.73 kB / 352.6 MB, free: 1.141 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1448, allocations: 0 / 352.6 MB, free: 1.141 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000155/0.145, allocations: 85.56 kB / 352.7 MB, free: 1.051 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.145, allocations: 8 kB / 352.7 MB, free: 1.043 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.145, allocations: 3.938 kB / 352.7 MB, free: 1.039 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.145, allocations: 4 kB / 352.7 MB, free: 1.035 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.447e-05/0.1451, allocations: 15.92 kB / 352.7 MB, free: 1.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.1451, allocations: 0 / 352.7 MB, free: 1.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.1451, allocations: 7.906 kB / 352.7 MB, free: 1.012 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.1451, allocations: 4 kB / 352.7 MB, free: 1.008 MB / 286.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.0001174/0.1453, allocations: 130 kB / 352.9 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/0.1454, allocations: 69.59 kB / 352.9 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.1454, allocations: 16.31 kB / 352.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1454, allocations: 0 / 352.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1454, allocations: 0 / 352.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1454, allocations: 3.984 kB / 352.9 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.1456, allocations: 165.7 kB / 353.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1456, allocations: 3.938 kB / 353.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.1456, allocations: 4 kB / 353.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1456, allocations: 4 kB / 353.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1456, allocations: 3.938 kB / 353.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1456, allocations: 0 / 353.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.1457, allocations: 192 / 353.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.1458, allocations: 108.9 kB / 353.2 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.1459, allocations: 96.88 kB / 353.3 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.1459, allocations: 11.94 kB / 353.3 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.604e-05/0.1459, allocations: 0 / 353.3 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-06/0.146, allocations: 4 kB / 353.3 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.146, allocations: 0 / 353.3 MB, free: 300 kB / 286.1 MB Notification: Performance of sorting global known variables: time 7.544e-05/0.146, allocations: 103.3 kB / 353.4 MB, free: 196 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.146, allocations: 0 / 353.4 MB, free: 196 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1463, allocations: 8 kB / 353.4 MB, free: 188 kB / 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,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.0001291/0.1464, allocations: 105.1 kB / 353.5 MB, free: 76 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.1466, allocations: 52.3 kB / 353.6 MB, free: 24 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1466, allocations: 0 / 353.6 MB, free: 24 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-07/0.1466, allocations: 0 / 353.6 MB, free: 24 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.147, allocations: 36.28 kB / 353.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.1474, allocations: 175.4 kB / 353.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.1477, allocations: 0.7043 MB / 354.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.496e-05/0.1477, allocations: 0 / 354.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.1478, allocations: 15.38 kB / 354.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1478, allocations: 0 / 354.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of Templates: time 0.003042/0.1508, allocations: 0.5738 MB / 355.1 MB, free: 14.47 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/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