Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_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_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.001546/0.001546, allocations: 175.4 kB / 16.45 MB, free: 5.684 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.262/1.262, allocations: 205.4 MB / 222.6 MB, free: 9.109 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.0006616/0.0006617, allocations: 95.86 kB / 270.9 MB, free: 8.352 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.06525/0.06525, allocations: 12.58 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0004, allocations: 16 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07617/0.07658, allocations: 50.38 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.0009961/0.07763, allocations: 0.5976 MB / 443.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002899/0.07793, allocations: 151.6 kB / 443.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.07802, allocations: 3.938 kB / 443.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.07814, allocations: 7.938 kB / 443.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.07826, allocations: 7.922 kB / 443.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.07845, allocations: 43.95 kB / 443.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.465e-05/0.07854, allocations: 59.78 kB / 443.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.07866, allocations: 36.16 kB / 443.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.723e-05/0.07869, allocations: 19.86 kB / 444 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.994e-05/0.07876, allocations: 27.86 kB / 444 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.07879, allocations: 4 kB / 444 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.0788, allocations: 0 / 444 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.664e-05/0.07885, allocations: 27.91 kB / 444 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.07888, allocations: 41.64 kB / 444.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.047e-05/0.07897, allocations: 59.89 kB / 444.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.07898, allocations: 0 / 444.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.07899, allocations: 3.938 kB / 444.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.079, allocations: 0 / 444.1 MB, free: 14.7 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.000381/0.07938, allocations: 399.2 kB / 444.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.07942, allocations: 11.97 kB / 444.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.07946, allocations: 15.81 kB / 444.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.07963, allocations: 206.8 kB / 444.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.07965, allocations: 11.95 kB / 444.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.07967, allocations: 8 kB / 444.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.08, allocations: 242.8 kB / 445 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.08002, allocations: 3.953 kB / 445 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.08003, allocations: 0 / 445 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.08004, allocations: 4 kB / 445 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.818e-05/0.08012, allocations: 47.97 kB / 445 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.08024, allocations: 193.5 kB / 445.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.08044, allocations: 153 kB / 445.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.37e-05/0.08054, allocations: 80.83 kB / 445.5 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.08056, allocations: 4 kB / 445.5 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.08058, allocations: 30.56 kB / 445.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.08059, allocations: 0 / 445.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002456/0.08084, allocations: 184 kB / 445.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.08089, allocations: 63.41 kB / 445.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/0.08099, allocations: 165.9 kB / 445.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.08101, allocations: 29.7 kB / 445.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.904e-05/0.08104, allocations: 96.45 kB / 446 MB, free: 12.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.08106, allocations: 7.938 kB / 446 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.08107, allocations: 4 kB / 446 MB, free: 12.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.08112, allocations: 322.8 kB / 446.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.096e-05/0.08116, allocations: 27.89 kB / 446.4 MB, free: 12.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-05/0.08122, allocations: 121.7 kB / 446.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.114e-05/0.08128, allocations: 43.98 kB / 446.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.08129, allocations: 4 kB / 446.5 MB, free: 12 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001631/0.08146, allocations: 157.2 kB / 446.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.08148, allocations: 10.03 kB / 446.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.0815, allocations: 4.5 kB / 446.7 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.08152, allocations: 8 kB / 446.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.08164, allocations: 35.88 kB / 446.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.08165, allocations: 4 kB / 446.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.549e-05/0.08172, allocations: 19.84 kB / 446.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.08173, allocations: 8 kB / 446.8 MB, free: 11.76 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 9.07e-05/0.08183, allocations: 141.8 kB / 446.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.08196, allocations: 129.5 kB / 447.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.08201, allocations: 25.17 kB / 447.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.08202, allocations: 7.938 kB / 447.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.08203, allocations: 3.953 kB / 447.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.08204, allocations: 0 / 447.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.172e-05/0.08213, allocations: 197.5 kB / 447.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.08214, allocations: 3.938 kB / 447.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.08225, allocations: 23.98 kB / 447.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.08226, allocations: 4 kB / 447.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.08227, allocations: 0 / 447.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.08228, allocations: 0 / 447.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.08228, allocations: 4 kB / 447.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.08244, allocations: 177.4 kB / 447.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.0825, allocations: 104.9 kB / 447.6 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.08252, allocations: 4 kB / 447.6 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.052e-05/0.08256, allocations: 4 kB / 447.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-06/0.08257, allocations: 0 / 447.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.08258, allocations: 11.98 kB / 447.6 MB, free: 10.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.287e-05/0.08264, allocations: 111.2 kB / 447.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08264, allocations: 4 kB / 447.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002183/0.08287, allocations: 16 kB / 447.7 MB, free: 10.7 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.631e-05/0.08297, allocations: 111.1 kB / 447.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.08318, allocations: 100.7 kB / 447.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.08321, allocations: 4.062 kB / 448 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.08321, allocations: 0 / 448 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.08357, allocations: 93.42 kB / 448 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.0839, allocations: 301.7 kB / 448.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.08405, allocations: 0.7204 MB / 449.1 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.08408, allocations: 15.44 kB / 449.1 MB, free: 9.301 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.08408, allocations: 0 / 449.1 MB, free: 9.301 MB / 298.7 MB Notification: Performance of Templates: time 0.002183/0.08627, allocations: 1.331 MB / 450.4 MB, free: 7.969 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches