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.0008958/0.0008958, allocations: 185.2 kB / 16.45 MB, free: 5.656 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.4 MB / 222.6 MB, free: 9.102 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.0007842/0.0007842, allocations: 97.81 kB / 270.9 MB, free: 8.336 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06776/0.06776, allocations: 12.6 MB / 331.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.000387, allocations: 15.98 kB / 392 MB, free: 66.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0698/0.0702, allocations: 50.37 MB / 442.4 MB, free: 16.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.0009595/0.0712, allocations: 0.6099 MB / 443 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002663/0.07148, allocations: 139.6 kB / 443.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.5e-05/0.07156, allocations: 0 / 443.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.279e-05/0.07164, allocations: 7.938 kB / 443.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.241e-05/0.07172, allocations: 3.938 kB / 443.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.07192, allocations: 39.89 kB / 443.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.196e-05/0.07201, allocations: 51.91 kB / 443.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.07212, allocations: 36.38 kB / 443.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.551e-05/0.07215, allocations: 19.81 kB / 443.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.427e-05/0.07219, allocations: 27.84 kB / 443.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.07222, allocations: 0 / 443.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.07224, allocations: 4 kB / 443.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.07229, allocations: 19.92 kB / 443.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.07232, allocations: 37.64 kB / 443.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.68e-05/0.0724, allocations: 47.89 kB / 443.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.07241, allocations: 0 / 443.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.07241, allocations: 0 / 443.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.07242, allocations: 4 kB / 443.4 MB, free: 15.4 MB / 298.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.000265/0.07269, allocations: 379.2 kB / 443.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.07273, allocations: 12.03 kB / 443.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.07277, allocations: 11.81 kB / 443.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.07291, allocations: 198.8 kB / 444 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.07292, allocations: 11.95 kB / 444 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.07295, allocations: 12 kB / 444 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.07327, allocations: 218.9 kB / 444.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.0733, allocations: 3.953 kB / 444.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.07331, allocations: 7.984 kB / 444.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.07332, allocations: 0 / 444.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.241e-05/0.07339, allocations: 39.91 kB / 444.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.0735, allocations: 189.6 kB / 444.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.07368, allocations: 127 kB / 444.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.085e-05/0.07378, allocations: 86.16 kB / 444.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.0738, allocations: 0 / 444.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.07382, allocations: 34.56 kB / 444.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.522e-06/0.07383, allocations: 4 kB / 444.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002477/0.07408, allocations: 157.8 kB / 444.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.07413, allocations: 63.34 kB / 444.9 MB, free: 13.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.07421, allocations: 148.9 kB / 445.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.07423, allocations: 25.7 kB / 445.1 MB, free: 13.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.428e-05/0.07426, allocations: 88.47 kB / 445.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.07428, allocations: 7.984 kB / 445.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-06/0.07429, allocations: 11.94 kB / 445.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.079e-05/0.07433, allocations: 318.8 kB / 445.5 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.07437, allocations: 20 kB / 445.5 MB, free: 13.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.709e-05/0.07443, allocations: 113.9 kB / 445.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.103e-05/0.07449, allocations: 43.94 kB / 445.7 MB, free: 12.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.0745, allocations: 4 kB / 445.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001649/0.07467, allocations: 157.6 kB / 445.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.07469, allocations: 12 kB / 445.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.0747, allocations: 3.984 kB / 445.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.07472, allocations: 8 kB / 445.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.696e-05/0.07475, allocations: 11.89 kB / 445.9 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.07476, allocations: 7.938 kB / 445.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.07482, allocations: 12 kB / 445.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.07484, allocations: 8 kB / 445.9 MB, free: 12.62 MB / 298.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.0001044/0.07495, allocations: 142.6 kB / 446.1 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.07507, allocations: 121.5 kB / 446.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.535e-05/0.07511, allocations: 17.19 kB / 446.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.07512, allocations: 8 kB / 446.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.07513, allocations: 3.953 kB / 446.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.07514, allocations: 3.984 kB / 446.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.514e-05/0.07521, allocations: 185.5 kB / 446.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.07522, allocations: 0 / 446.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/0.07524, allocations: 7.938 kB / 446.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.07525, allocations: 0 / 446.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.07526, allocations: 4 kB / 446.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.07527, allocations: 0 / 446.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.07527, allocations: 4 kB / 446.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.07541, allocations: 148.9 kB / 446.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.07547, allocations: 100.9 kB / 446.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.07549, allocations: 4 kB / 446.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.974e-05/0.07552, allocations: 0 / 446.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-06/0.07553, allocations: 4 kB / 446.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.07554, allocations: 4 kB / 446.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.423e-05/0.07559, allocations: 113.8 kB / 446.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.07559, allocations: 0 / 446.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.0758, allocations: 16 kB / 446.8 MB, free: 11.65 MB / 298.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 7.462e-05/0.07588, allocations: 115.1 kB / 446.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.07603, allocations: 96.53 kB / 447 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.07604, allocations: 0 / 447 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.07605, allocations: 0 / 447 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.07637, allocations: 79.94 kB / 447.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.07667, allocations: 269.3 kB / 447.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.0768, allocations: 0.7048 MB / 448 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.07683, allocations: 15.44 kB / 448.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of SimCode: time 2.71e-07/0.07683, allocations: 3.938 kB / 448.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of Templates: time 0.002032/0.07887, allocations: 1.184 MB / 449.2 MB, free: 9.121 MB / 298.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/jenkins/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