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.001488/0.001488, allocations: 107.8 kB / 16.45 MB, free: 6.438 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.001295/0.001295, allocations: 186.4 kB / 17.38 MB, free: 5.691 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.716/1.716, allocations: 205.1 MB / 223.3 MB, free: 12.21 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.08563/0.08563, allocations: 12.59 MB / 283.2 MB, free: 15.41 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.001831/0.001831, allocations: 90.86 kB / 394.2 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1344, allocations: 49.4 MB / 443.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock): time 0.002445/0.137, allocations: 0.8683 MB / 444.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004166/0.1374, allocations: 107.7 kB / 444.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.1375, allocations: 4 kB / 444.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.652e-05/0.1376, allocations: 3.938 kB / 444.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.1378, allocations: 15.91 kB / 444.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.138, allocations: 31.92 kB / 444.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.1382, allocations: 43.84 kB / 444.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.1383, allocations: 31.95 kB / 444.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.1384, allocations: 11.94 kB / 444.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.003e-05/0.1384, allocations: 15.92 kB / 444.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.1384, allocations: 4 kB / 444.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.1385, allocations: 4 kB / 444.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.1385, allocations: 15.92 kB / 444.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.1386, allocations: 23.81 kB / 444.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.1387, allocations: 55.73 kB / 444.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1387, allocations: 3.938 kB / 444.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1387, allocations: 0 / 444.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.1388, allocations: 0 / 444.8 MB, free: 15.28 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.000542/0.1393, allocations: 379.2 kB / 445.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1394, allocations: 8.031 kB / 445.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.1394, allocations: 8.844 kB / 445.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.1397, allocations: 196.1 kB / 445.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1397, allocations: 384 / 445.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.1398, allocations: 12.31 kB / 445.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.1401, allocations: 139.7 kB / 445.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1401, allocations: 192 / 445.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.1402, allocations: 3.938 kB / 445.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.1402, allocations: 0 / 445.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.466e-05/0.1402, allocations: 19.98 kB / 445.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.1406, allocations: 173.5 kB / 445.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1407, allocations: 74.64 kB / 445.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.475e-05/0.1408, allocations: 36.89 kB / 445.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.1408, allocations: 4 kB / 445.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.1409, allocations: 30.56 kB / 445.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1409, allocations: 0 / 445.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002394/0.1411, allocations: 85.53 kB / 445.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/0.1412, allocations: 67.33 kB / 446 MB, free: 13.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.1413, allocations: 129.8 kB / 446.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1414, allocations: 29.7 kB / 446.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.1414, allocations: 84.14 kB / 446.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.1415, allocations: 4 kB / 446.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.1415, allocations: 29.61 kB / 446.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1416, allocations: 314.8 kB / 446.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.1417, allocations: 11.98 kB / 446.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.675e-05/0.1417, allocations: 58.88 kB / 446.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.448e-05/0.1418, allocations: 78.73 kB / 446.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.1418, allocations: 4 kB / 446.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001182/0.1419, allocations: 81.75 kB / 446.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.142, allocations: 8 kB / 446.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.142, allocations: 7.938 kB / 446.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.142, allocations: 0 / 446.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.699e-05/0.1421, allocations: 11.98 kB / 446.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1421, allocations: 4 kB / 446.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.668e-05/0.1421, allocations: 7.844 kB / 446.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.1421, allocations: 7.938 kB / 446.9 MB, free: 12.93 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 9.463e-05/0.1422, allocations: 121.8 kB / 447 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.45e-05/0.1423, allocations: 73.67 kB / 447.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/0.1424, allocations: 16.31 kB / 447.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1424, allocations: 4 kB / 447.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1424, allocations: 192 / 447.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1424, allocations: 3.984 kB / 447.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.1425, allocations: 177.5 kB / 447.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1425, allocations: 0 / 447.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.186e-05/0.1426, allocations: 3.938 kB / 447.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.1426, allocations: 0 / 447.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1426, allocations: 7.938 kB / 447.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1426, allocations: 4 kB / 447.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1426, allocations: 4 kB / 447.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.1427, allocations: 93.41 kB / 447.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.704e-05/0.1428, allocations: 97 kB / 447.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.1429, allocations: 3.938 kB / 447.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.47e-05/0.1429, allocations: 0 / 447.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-06/0.1429, allocations: 0 / 447.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.1429, allocations: 8 kB / 447.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.297e-05/0.143, allocations: 99.27 kB / 447.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.143, allocations: 0 / 447.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.1432, allocations: 12 kB / 447.6 MB, free: 12.11 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.0001228/0.1433, allocations: 99.17 kB / 447.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.1435, allocations: 44 kB / 447.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1435, allocations: 0 / 447.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.1435, allocations: 4.484 kB / 447.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.1438, allocations: 39.97 kB / 447.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.1442, allocations: 157.7 kB / 447.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1445, allocations: 0.6963 MB / 448.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.299e-05/0.1446, allocations: 7.953 kB / 448.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.1446, allocations: 11.44 kB / 448.6 MB, free: 11 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1446, allocations: 0 / 448.6 MB, free: 11 MB / 334.1 MB Notification: Performance of Templates: time 0.003308/0.1479, allocations: 0.629 MB / 449.3 MB, free: 10.37 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