Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001969/0.001969, allocations: 175 kB / 16.77 MB, free: 5.047 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.666/1.666, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.000727/0.000727, allocations: 94.98 kB / 271.3 MB, free: 8.246 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.07007/0.07007, allocations: 12.59 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.0004217, allocations: 16 kB / 392.6 MB, free: 66.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08444/0.08488, allocations: 50.37 MB / 443 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001118/0.08605, allocations: 0.598 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003506/0.08641, allocations: 147.6 kB / 443.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.11e-05/0.08652, allocations: 0 / 443.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.08663, allocations: 11.92 kB / 443.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.08679, allocations: 7.938 kB / 443.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.087, allocations: 47.91 kB / 443.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.08711, allocations: 63.77 kB / 443.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.08726, allocations: 39.92 kB / 443.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.005e-05/0.08729, allocations: 19.92 kB / 443.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.08737, allocations: 27.86 kB / 443.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.08739, allocations: 0 / 443.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.583e-05/0.08741, allocations: 7.938 kB / 443.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.08747, allocations: 27.91 kB / 444 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.08753, allocations: 61.44 kB / 444 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.408e-05/0.08762, allocations: 55.89 kB / 444.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.08763, allocations: 0 / 444.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.08764, allocations: 0 / 444.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.08765, allocations: 0 / 444.1 MB, free: 15.01 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.0004261/0.08808, allocations: 399.3 kB / 444.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.08812, allocations: 8.031 kB / 444.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.08817, allocations: 16.75 kB / 444.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.08836, allocations: 208 kB / 444.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.08839, allocations: 16.38 kB / 444.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.08841, allocations: 8.375 kB / 444.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.08877, allocations: 243.3 kB / 445 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.08879, allocations: 192 / 445 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.08881, allocations: 7.938 kB / 445 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.08882, allocations: 8 kB / 445 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.143e-05/0.08891, allocations: 47.91 kB / 445 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.08905, allocations: 189.5 kB / 445.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.08926, allocations: 152.9 kB / 445.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.08937, allocations: 84.83 kB / 445.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.08939, allocations: 7.984 kB / 445.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.08941, allocations: 30.56 kB / 445.5 MB, free: 13.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.133e-06/0.08942, allocations: 0 / 445.5 MB, free: 13.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002665/0.08969, allocations: 176.1 kB / 445.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.08974, allocations: 63.34 kB / 445.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.08985, allocations: 165.9 kB / 445.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.08987, allocations: 29.7 kB / 445.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/0.08991, allocations: 100.5 kB / 446 MB, free: 12.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.08993, allocations: 11.89 kB / 446 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/0.08994, allocations: 0 / 446 MB, free: 12.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.218e-05/0.09, allocations: 322.8 kB / 446.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.927e-05/0.09003, allocations: 23.92 kB / 446.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.0901, allocations: 127.5 kB / 446.5 MB, free: 12.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.09021, allocations: 157.5 kB / 446.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.09022, allocations: 0 / 446.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001688/0.09039, allocations: 161.3 kB / 446.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.09042, allocations: 8 kB / 446.8 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.09043, allocations: 7.938 kB / 446.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.09045, allocations: 4 kB / 446.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.09056, allocations: 31.92 kB / 446.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.09058, allocations: 11.98 kB / 446.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.175e-05/0.09064, allocations: 19.78 kB / 446.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-06/0.09065, allocations: 8.406 kB / 446.9 MB, free: 11.89 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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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 8.978e-05/0.09075, allocations: 141.8 kB / 447 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.09089, allocations: 133.4 kB / 447.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.09094, allocations: 21.12 kB / 447.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.09095, allocations: 4 kB / 447.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.09096, allocations: 0 / 447.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.09096, allocations: 0 / 447.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.496e-05/0.09105, allocations: 193.5 kB / 447.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.09106, allocations: 4 kB / 447.4 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.09117, allocations: 27.98 kB / 447.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.09118, allocations: 4 kB / 447.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.09119, allocations: 3.938 kB / 447.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.0912, allocations: 0 / 447.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.09121, allocations: 0 / 447.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.09137, allocations: 169.5 kB / 447.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.09143, allocations: 104.9 kB / 447.7 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.09146, allocations: 11.94 kB / 447.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.902e-05/0.0915, allocations: 7.938 kB / 447.7 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-06/0.0915, allocations: 0 / 447.7 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.09152, allocations: 8 kB / 447.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.817e-05/0.09158, allocations: 115.2 kB / 447.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09159, allocations: 0 / 447.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002089/0.0918, allocations: 16 kB / 447.8 MB, free: 10.84 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,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.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 9.114e-05/0.09189, allocations: 119.1 kB / 447.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.09204, allocations: 87.84 kB / 448 MB, free: 10.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.09206, allocations: 4 kB / 448 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.09206, allocations: 0 / 448 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.09246, allocations: 94.42 kB / 448.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.09283, allocations: 305.7 kB / 448.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.09297, allocations: 0.7165 MB / 449.1 MB, free: 9.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.09301, allocations: 19.42 kB / 449.1 MB, free: 9.441 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.09301, allocations: 4 kB / 449.1 MB, free: 9.438 MB / 298.7 MB Notification: Performance of Templates: time 0.00226/0.09528, allocations: 1.316 MB / 450.5 MB, free: 8.121 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches