Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|xor.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|xor.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.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.001437/0.001438, allocations: 108.4 kB / 16.45 MB, free: 6.449 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.001683/0.001683, allocations: 189.5 kB / 17.39 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.1 MB / 223.3 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07494/0.07494, allocations: 12.59 MB / 283.2 MB, free: 15.39 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 85.52 kB / 394.2 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1395, allocations: 49.41 MB / 443.6 MB, free: 488 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock): time 0.002654/0.1422, allocations: 0.8527 MB / 444.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004723/0.1427, allocations: 111.7 kB / 444.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1428, allocations: 8 kB / 444.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.368e-05/0.1429, allocations: 11.86 kB / 444.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.1431, allocations: 3.938 kB / 444.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.1434, allocations: 39.89 kB / 444.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.1435, allocations: 35.92 kB / 444.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1436, allocations: 27.95 kB / 444.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.472e-05/0.1437, allocations: 15.92 kB / 444.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.7e-05/0.1437, allocations: 15.92 kB / 444.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.1437, allocations: 8 kB / 444.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.1438, allocations: 7.938 kB / 444.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.1438, allocations: 11.94 kB / 444.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.84e-05/0.1439, allocations: 27.8 kB / 444.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.1441, allocations: 55.75 kB / 444.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1441, allocations: 0 / 444.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1441, allocations: 4 kB / 444.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.1441, allocations: 0 / 444.8 MB, free: 15.25 MB / 334.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.0005248/0.1447, allocations: 367.2 kB / 445.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.1447, allocations: 16.03 kB / 445.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.1448, allocations: 8.844 kB / 445.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.1451, allocations: 200.1 kB / 445.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1451, allocations: 4.375 kB / 445.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1451, allocations: 8.375 kB / 445.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.1454, allocations: 127.8 kB / 445.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1454, allocations: 4.125 kB / 445.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1454, allocations: 7.922 kB / 445.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1454, allocations: 4 kB / 445.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.234e-05/0.1455, allocations: 12 kB / 445.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.1457, allocations: 181.5 kB / 445.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.1458, allocations: 66.73 kB / 445.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.866e-05/0.1459, allocations: 40.86 kB / 445.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.1459, allocations: 3.984 kB / 445.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1459, allocations: 30.56 kB / 445.9 MB, free: 14.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.1459, allocations: 0 / 445.9 MB, free: 14.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002118/0.1462, allocations: 89.47 kB / 445.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.1462, allocations: 59.41 kB / 446 MB, free: 13.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.1463, allocations: 129.8 kB / 446.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1464, allocations: 29.7 kB / 446.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.1464, allocations: 84.14 kB / 446.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.1464, allocations: 7.984 kB / 446.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.1465, allocations: 25.62 kB / 446.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1466, allocations: 322.8 kB / 446.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.1467, allocations: 8 kB / 446.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-05/0.1467, allocations: 62.8 kB / 446.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.453e-05/0.1468, allocations: 74.81 kB / 446.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1468, allocations: 0 / 446.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001219/0.1469, allocations: 89.48 kB / 446.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.147, allocations: 4 kB / 446.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.147, allocations: 8.188 kB / 446.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.147, allocations: 8 kB / 446.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.222e-05/0.147, allocations: 3.938 kB / 446.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.147, allocations: 4 kB / 446.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.716e-05/0.1471, allocations: 7.906 kB / 446.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1471, allocations: 4 kB / 446.9 MB, free: 12.91 MB / 334.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.0001002/0.1472, allocations: 133.7 kB / 447 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.034e-05/0.1473, allocations: 65.62 kB / 447.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.1474, allocations: 20.3 kB / 447.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1474, allocations: 8 kB / 447.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1474, allocations: 0 / 447.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1474, allocations: 0 / 447.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.1475, allocations: 165.8 kB / 447.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1475, allocations: 0 / 447.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.248e-05/0.1475, allocations: 11.92 kB / 447.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.1475, allocations: 4 kB / 447.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1476, allocations: 3.938 kB / 447.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1476, allocations: 0 / 447.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1476, allocations: 0 / 447.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.1477, allocations: 101.4 kB / 447.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-05/0.1478, allocations: 93 kB / 447.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.1478, allocations: 3.938 kB / 447.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.134e-05/0.1478, allocations: 8 kB / 447.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-06/0.1478, allocations: 4 kB / 447.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.1478, allocations: 0 / 447.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.518e-05/0.1479, allocations: 99.25 kB / 447.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1479, allocations: 4 kB / 447.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.1481, allocations: 8 kB / 447.6 MB, free: 12.09 MB / 334.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.0001118/0.1483, allocations: 103.2 kB / 447.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.1484, allocations: 43.98 kB / 447.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.1484, allocations: 4 kB / 447.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.015e-06/0.1484, allocations: 0 / 447.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.1487, allocations: 39.95 kB / 447.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.1491, allocations: 158.2 kB / 447.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.1495, allocations: 0.6924 MB / 448.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.618e-05/0.1495, allocations: 7.953 kB / 448.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.1496, allocations: 15.42 kB / 448.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1496, allocations: 0 / 448.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of Templates: time 0.003768/0.1534, allocations: 0.6172 MB / 449.2 MB, free: 10.35 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches