Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|unitDelay2.y|xor.y|xor1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|unitDelay2.y|xor.y|xor1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002867/0.002872, allocations: 185.5 kB / 16.44 MB, free: 5.586 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.073/4.073, allocations: 205.4 MB / 222.6 MB, free: 13.82 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.001889/0.001889, allocations: 98.8 kB / 270.9 MB, free: 13.34 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.2111/0.2111, allocations: 12.59 MB / 331.8 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009528/0.0009537, allocations: 15.38 kB / 392 MB, free: 54.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2094, allocations: 50.38 MB / 442.4 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.00217/0.2116, allocations: 0.6133 MB / 443 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006319/0.2123, allocations: 131.6 kB / 443.1 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.2125, allocations: 4 kB / 443.1 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.2127, allocations: 3.938 kB / 443.1 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.2128, allocations: 7.984 kB / 443.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.2134, allocations: 43.83 kB / 443.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.2136, allocations: 39.95 kB / 443.2 MB, free: 10.74 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.2138, allocations: 24.41 kB / 443.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.2139, allocations: 23.86 kB / 443.2 MB, free: 10.69 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.214, allocations: 15.86 kB / 443.3 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.214, allocations: 8 kB / 443.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.512e-05/0.2141, allocations: 0 / 443.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.786e-05/0.2142, allocations: 27.84 kB / 443.3 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.377e-05/0.2143, allocations: 37.64 kB / 443.3 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.2144, allocations: 51.91 kB / 443.4 MB, free: 10.54 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2145, allocations: 0 / 443.4 MB, free: 10.54 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.2145, allocations: 0 / 443.4 MB, free: 10.54 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.2145, allocations: 0 / 443.4 MB, free: 10.54 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005941/0.2151, allocations: 387.8 kB / 443.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001131/0.2153, allocations: 8.031 kB / 443.8 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.505e-05/0.2154, allocations: 19.81 kB / 443.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.2157, allocations: 194.8 kB / 444 MB, free: 9.859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.2158, allocations: 7.953 kB / 444 MB, free: 9.852 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.2158, allocations: 8 kB / 444 MB, free: 9.844 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007623/0.2166, allocations: 218.9 kB / 444.2 MB, free: 9.617 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.2167, allocations: 3.953 kB / 444.2 MB, free: 9.613 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.2167, allocations: 4 kB / 444.2 MB, free: 9.609 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.2167, allocations: 0 / 444.2 MB, free: 9.609 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.2169, allocations: 35.98 kB / 444.2 MB, free: 9.574 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002539/0.2172, allocations: 185.6 kB / 444.4 MB, free: 9.344 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/0.2177, allocations: 135 kB / 444.6 MB, free: 9.203 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.2178, allocations: 3.938 kB / 444.6 MB, free: 9.199 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.2178, allocations: 30.56 kB / 444.6 MB, free: 9.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 3.918e-06/0.2178, allocations: 0 / 444.6 MB, free: 9.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005932/0.2184, allocations: 161.4 kB / 444.8 MB, free: 8.996 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.2186, allocations: 59.69 kB / 444.8 MB, free: 8.926 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.2188, allocations: 144.6 kB / 445 MB, free: 8.777 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.2189, allocations: 33.7 kB / 445 MB, free: 8.738 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.219, allocations: 154.9 kB / 445.1 MB, free: 8.582 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.219, allocations: 7.984 kB / 445.1 MB, free: 8.574 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.219, allocations: 4 kB / 445.1 MB, free: 8.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.2192, allocations: 318.8 kB / 445.5 MB, free: 8.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.248e-05/0.2193, allocations: 23.86 kB / 445.5 MB, free: 8.227 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.2195, allocations: 117.7 kB / 445.6 MB, free: 8.062 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.2196, allocations: 43.92 kB / 445.6 MB, free: 8.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.443e-06/0.2197, allocations: 0 / 445.6 MB, free: 8.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004766/0.2201, allocations: 153.2 kB / 445.8 MB, free: 7.863 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.2202, allocations: 8 kB / 445.8 MB, free: 7.855 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.2202, allocations: 4 kB / 445.8 MB, free: 7.852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.636e-05/0.2203, allocations: 4 kB / 445.8 MB, free: 7.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.2204, allocations: 12.42 kB / 445.8 MB, free: 7.836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.2204, allocations: 15.89 kB / 445.8 MB, free: 7.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.2206, allocations: 19.84 kB / 445.9 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.2207, allocations: 8 kB / 445.9 MB, free: 7.793 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0002731/0.221, allocations: 133.8 kB / 446 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003801/0.2213, allocations: 117.5 kB / 446.1 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.125e-05/0.2215, allocations: 17.19 kB / 446.1 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.2215, allocations: 4 kB / 446.1 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/0.2215, allocations: 0 / 446.1 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.2215, allocations: 7.953 kB / 446.1 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.2218, allocations: 185.6 kB / 446.3 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/0.2218, allocations: 0 / 446.3 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.2219, allocations: 4 kB / 446.3 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.2219, allocations: 0 / 446.3 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.2219, allocations: 7.984 kB / 446.3 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.2219, allocations: 4 kB / 446.3 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.222, allocations: 0 / 446.3 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.2224, allocations: 156.8 kB / 446.5 MB, free: 7.086 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.2226, allocations: 97 kB / 446.6 MB, free: 6.973 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.2227, allocations: 7.984 kB / 446.6 MB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.051e-05/0.2228, allocations: 4 kB / 446.6 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.194e-06/0.2228, allocations: 0 / 446.6 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.2228, allocations: 8 kB / 446.6 MB, free: 6.953 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.223, allocations: 101.1 kB / 446.7 MB, free: 6.855 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.223, allocations: 4 kB / 446.7 MB, free: 6.852 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005994/0.2236, allocations: 16 kB / 446.7 MB, free: 6.836 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: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0002161/0.2239, allocations: 108.3 kB / 446.8 MB, free: 6.719 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004123/0.2243, allocations: 91.78 kB / 446.9 MB, free: 6.629 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.2243, allocations: 3.938 kB / 446.9 MB, free: 6.625 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/0.2243, allocations: 0 / 446.9 MB, free: 6.625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.225, allocations: 85.77 kB / 447 MB, free: 6.547 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007685/0.2258, allocations: 261.1 kB / 447.3 MB, free: 6.254 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.2261, allocations: 0.7165 MB / 448 MB, free: 5.512 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/0.2262, allocations: 15.44 kB / 448 MB, free: 5.496 MB / 282.7 MB Notification: Performance of SimCode: time 1.653e-06/0.2263, allocations: 4 kB / 448 MB, free: 5.492 MB / 282.7 MB Notification: Performance of Templates: time 0.005757/0.232, allocations: 1.167 MB / 449.2 MB, free: 4.332 MB / 282.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches