Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 117.7 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001257/0.001257, allocations: 199.8 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2746, allocations: 50.55 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.00204/0.2767, allocations: 0.8821 MB / 409.6 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003463/0.2771, allocations: 135.6 kB / 409.8 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.633e-05/0.2771, allocations: 4 kB / 409.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.2773, allocations: 15.86 kB / 409.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.2774, allocations: 23.84 kB / 409.8 MB, free: 480 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.2776, allocations: 35.91 kB / 409.8 MB, free: 444 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.2777, allocations: 75.75 kB / 409.9 MB, free: 368 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.2779, allocations: 47.95 kB / 410 MB, free: 320 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.813e-05/0.2779, allocations: 23.92 kB / 410 MB, free: 296 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.949e-05/0.278, allocations: 43.77 kB / 410 MB, free: 252 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.278, allocations: 4 kB / 410 MB, free: 248 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.771e-05/0.2781, allocations: 8 kB / 410 MB, free: 240 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.2781, allocations: 31.92 kB / 410.1 MB, free: 208 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.2782, allocations: 43.67 kB / 410.1 MB, free: 164 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.2783, allocations: 99.52 kB / 410.2 MB, free: 64 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2783, allocations: 0 / 410.2 MB, free: 64 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2783, allocations: 4 kB / 410.2 MB, free: 60 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.2783, allocations: 0 / 410.2 MB, free: 60 kB / 318.1 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.000481/0.2788, allocations: 404.8 kB / 410.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2789, allocations: 11.97 kB / 410.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.2789, allocations: 38.75 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.2789, allocations: 28.73 kB / 410.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.2792, allocations: 215.9 kB / 410.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.2792, allocations: 8.375 kB / 410.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.2792, allocations: 12.38 kB / 410.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.2796, allocations: 241.8 kB / 411.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2796, allocations: 3.938 kB / 411.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2796, allocations: 4 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2796, allocations: 0 / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.058e-05/0.2797, allocations: 51.91 kB / 411.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.2799, allocations: 185.5 kB / 411.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.2801, allocations: 154.8 kB / 411.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.2802, allocations: 88 kB / 411.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.2803, allocations: 0 / 411.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.2803, allocations: 34.56 kB / 411.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.2803, allocations: 0 / 411.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002972/0.2806, allocations: 177.7 kB / 411.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.2806, allocations: 67.28 kB / 411.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.2808, allocations: 161.3 kB / 412.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.2808, allocations: 29.7 kB / 412.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.2809, allocations: 100.4 kB / 412.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.2809, allocations: 7.906 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.2809, allocations: 41.7 kB / 412.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.489e-05/0.281, allocations: 322.8 kB / 412.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.2811, allocations: 19.98 kB / 412.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.394e-05/0.2812, allocations: 132.4 kB / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.2813, allocations: 153.5 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2813, allocations: 0 / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002022/0.2815, allocations: 157.2 kB / 413 MB, free: 12.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2816, allocations: 11.94 kB / 413 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2816, allocations: 4 kB / 413 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2816, allocations: 4.5 kB / 413 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.2817, allocations: 35.92 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.2817, allocations: 8 kB / 413.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.2818, allocations: 11.91 kB / 413.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.2818, allocations: 15.92 kB / 413.1 MB, free: 12.84 MB / 334.1 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,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.2819, allocations: 149.7 kB / 413.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.2821, allocations: 133.5 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.2821, allocations: 25.11 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2822, allocations: 4 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2822, allocations: 0 / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2822, allocations: 0 / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.2823, allocations: 197.5 kB / 413.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2823, allocations: 0 / 413.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.2824, allocations: 27.98 kB / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.2824, allocations: 7.922 kB / 413.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.2824, allocations: 7.922 kB / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2824, allocations: 0 / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.2825, allocations: 8 kB / 413.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.2827, allocations: 167.4 kB / 413.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.853e-05/0.2828, allocations: 104.9 kB / 413.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.2828, allocations: 7.938 kB / 413.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.203e-05/0.2828, allocations: 3.984 kB / 413.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-06/0.2828, allocations: 4 kB / 413.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.2828, allocations: 4 kB / 413.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.106e-05/0.2829, allocations: 118.3 kB / 414 MB, free: 11.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2829, allocations: 0 / 414 MB, free: 11.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.2832, allocations: 20 kB / 414.1 MB, free: 11.77 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005691/0.2837, allocations: 0.7761 MB / 414.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.284, allocations: 107.2 kB / 414.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.284, allocations: 0 / 414.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.836e-06/0.284, allocations: 3.938 kB / 415 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.2844, allocations: 91.31 kB / 415 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.2858, allocations: 1.698 MB / 416.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.2861, allocations: 0.7278 MB / 417.5 MB, free: 8.152 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.212e-05/0.2861, allocations: 5.094 kB / 417.5 MB, free: 8.148 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.2862, allocations: 31.42 kB / 417.5 MB, free: 8.117 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2862, allocations: 0 / 417.5 MB, free: 8.117 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.3033, allocations: 2.659 MB / 420.2 MB, free: 5.598 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.386/7.69, allocations: 11.8 kB / 420.2 MB, free: 5.59 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches