Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002964/0.00297, allocations: 188.1 kB / 16.45 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.591/4.591, allocations: 205.4 MB / 222.6 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.003263/0.003263, allocations: 98.78 kB / 270.9 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.212/0.212, allocations: 12.59 MB / 331.8 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 15.92 kB / 392 MB, free: 54.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2269, allocations: 50.37 MB / 442.4 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock): time 0.001974/0.229, allocations: 0.5627 MB / 442.9 MB, free: 11 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005009/0.2295, allocations: 115.7 kB / 443 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.2297, allocations: 0 / 443 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.093e-05/0.2298, allocations: 7.875 kB / 443 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.23, allocations: 11.97 kB / 443 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006574/0.2307, allocations: 35.91 kB / 443.1 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.2308, allocations: 19.98 kB / 443.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.231, allocations: 19.97 kB / 443.1 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.066e-05/0.2311, allocations: 7.938 kB / 443.1 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.2311, allocations: 23.8 kB / 443.2 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.2312, allocations: 4 kB / 443.2 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.2312, allocations: 0 / 443.2 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.2313, allocations: 4 kB / 443.2 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.2313, allocations: 37.64 kB / 443.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.2315, allocations: 39.92 kB / 443.2 MB, free: 10.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2315, allocations: 0 / 443.2 MB, free: 10.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.2315, allocations: 0 / 443.2 MB, free: 10.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.2315, allocations: 0 / 443.2 MB, free: 10.68 MB / 282.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.0005075/0.2321, allocations: 354.8 kB / 443.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.2321, allocations: 8.031 kB / 443.6 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.911e-05/0.2322, allocations: 15.81 kB / 443.6 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.2325, allocations: 182.9 kB / 443.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.2326, allocations: 7.953 kB / 443.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.2326, allocations: 12 kB / 443.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.2331, allocations: 123.3 kB / 443.9 MB, free: 9.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.2331, allocations: 0 / 443.9 MB, free: 9.891 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.2332, allocations: 0 / 443.9 MB, free: 9.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/0.2342, allocations: 0 / 443.9 MB, free: 9.891 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.2344, allocations: 23.91 kB / 443.9 MB, free: 9.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.2347, allocations: 185.4 kB / 444.1 MB, free: 9.637 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.235, allocations: 62.67 kB / 444.2 MB, free: 9.566 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.235, allocations: 0 / 444.2 MB, free: 9.566 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.2351, allocations: 38.56 kB / 444.2 MB, free: 9.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 2.515e-06/0.2351, allocations: 0 / 444.2 MB, free: 9.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003637/0.2355, allocations: 85.72 kB / 444.3 MB, free: 9.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/0.2356, allocations: 67.39 kB / 444.4 MB, free: 9.352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.2358, allocations: 133.8 kB / 444.5 MB, free: 9.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.2358, allocations: 25.7 kB / 444.5 MB, free: 9.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.2359, allocations: 154.6 kB / 444.7 MB, free: 9.027 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.2359, allocations: 0 / 444.7 MB, free: 9.027 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/0.236, allocations: 4 kB / 444.7 MB, free: 9.023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.2361, allocations: 318.8 kB / 445 MB, free: 8.703 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.751e-05/0.2361, allocations: 4 kB / 445 MB, free: 8.699 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.31e-05/0.2362, allocations: 62.81 kB / 445.1 MB, free: 8.613 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.688e-05/0.2363, allocations: 19.98 kB / 445.1 MB, free: 8.594 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.2363, allocations: 4.188 kB / 445.1 MB, free: 8.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002776/0.2366, allocations: 85.36 kB / 445.2 MB, free: 8.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.2367, allocations: 11.94 kB / 445.2 MB, free: 8.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.2367, allocations: 0 / 445.2 MB, free: 8.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.2368, allocations: 4 kB / 445.2 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.804e-05/0.2368, allocations: 12.23 kB / 445.2 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.2369, allocations: 11.94 kB / 445.2 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-05/0.237, allocations: 0 / 445.2 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.237, allocations: 4 kB / 445.2 MB, free: 8.457 MB / 282.7 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,unitDelay1.u,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.2372, allocations: 125.6 kB / 445.3 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.2374, allocations: 69.55 kB / 445.4 MB, free: 8.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.283e-05/0.2375, allocations: 12.38 kB / 445.4 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2375, allocations: 0 / 445.4 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.2376, allocations: 0 / 445.4 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2376, allocations: 7.984 kB / 445.4 MB, free: 8.227 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.2378, allocations: 165.7 kB / 445.6 MB, free: 8.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.2378, allocations: 3.938 kB / 445.6 MB, free: 8.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/0.2378, allocations: 8 kB / 445.6 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.2379, allocations: 0 / 445.6 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.2379, allocations: 3.953 kB / 445.6 MB, free: 8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.2379, allocations: 3.938 kB / 445.6 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2379, allocations: 0 / 445.6 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.2382, allocations: 101 kB / 445.7 MB, free: 7.879 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.2385, allocations: 100.9 kB / 445.8 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.2386, allocations: 4 kB / 445.8 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.313e-05/0.2386, allocations: 11.95 kB / 445.8 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-06/0.2387, allocations: 0 / 445.8 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.2387, allocations: 0 / 445.8 MB, free: 7.746 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.2388, allocations: 99.27 kB / 445.9 MB, free: 7.648 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.2389, allocations: 3.938 kB / 445.9 MB, free: 7.645 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005556/0.2394, allocations: 8 kB / 445.9 MB, free: 7.637 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001653/0.2396, allocations: 99.25 kB / 446 MB, free: 7.527 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.2399, allocations: 39.92 kB / 446.1 MB, free: 7.488 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.2399, allocations: 0 / 446.1 MB, free: 7.488 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.24, allocations: 0 / 446.1 MB, free: 7.488 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.2405, allocations: 47.7 kB / 446.1 MB, free: 7.445 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.2411, allocations: 201.6 kB / 446.3 MB, free: 7.215 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.2414, allocations: 0.6926 MB / 447 MB, free: 6.496 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.2414, allocations: 11.44 kB / 447 MB, free: 6.484 MB / 282.7 MB Notification: Performance of SimCode: time 1.974e-06/0.2415, allocations: 3.938 kB / 447 MB, free: 6.48 MB / 282.7 MB Notification: Performance of Templates: time 0.004289/0.2458, allocations: 0.7795 MB / 447.8 MB, free: 5.703 MB / 282.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches