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.0008198/0.0008199, allocations: 96.81 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 200.8 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.207/1.207, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001973/0.0001973, allocations: 4 kB / 307.8 MB, free: 0.7031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08152/0.08173, allocations: 51.51 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.00103/0.0828, allocations: 0.6134 MB / 360 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000305/0.08311, allocations: 127.7 kB / 360.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.08319, allocations: 11.94 kB / 360.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.896e-05/0.08328, allocations: 11.92 kB / 360.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.964e-05/0.08339, allocations: 15.91 kB / 360.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.08358, allocations: 39.86 kB / 360.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.696e-05/0.08369, allocations: 63.83 kB / 360.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.08381, allocations: 47.97 kB / 360.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.402e-05/0.08385, allocations: 27.8 kB / 360.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.742e-05/0.08392, allocations: 23.86 kB / 360.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.08395, allocations: 4 kB / 360.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.08396, allocations: 0 / 360.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.08402, allocations: 27.89 kB / 360.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.399e-05/0.08409, allocations: 61.39 kB / 360.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.0842, allocations: 91.61 kB / 360.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.08421, allocations: 0 / 360.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.08422, allocations: 0 / 360.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.08422, allocations: 0 / 360.5 MB, free: 12.03 MB / 302.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.0003996/0.08463, allocations: 391.3 kB / 360.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.08467, allocations: 12.03 kB / 360.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.08471, allocations: 42.73 kB / 360.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.08475, allocations: 16.75 kB / 361 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.08493, allocations: 207.3 kB / 361.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.08496, allocations: 12.38 kB / 361.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.08497, allocations: 4.375 kB / 361.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.08534, allocations: 234 kB / 361.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.08536, allocations: 7.938 kB / 361.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.08538, allocations: 4 kB / 361.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.08539, allocations: 4 kB / 361.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.258e-05/0.08547, allocations: 47.97 kB / 361.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.08563, allocations: 197.4 kB / 361.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.08584, allocations: 146.8 kB / 361.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.08596, allocations: 91.44 kB / 361.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.08598, allocations: 0 / 361.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.086, allocations: 34.56 kB / 361.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 9.22e-07/0.08601, allocations: 0 / 361.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002629/0.08628, allocations: 181.6 kB / 362.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.08633, allocations: 59.41 kB / 362.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.08646, allocations: 158.2 kB / 362.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.08648, allocations: 29.7 kB / 362.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.08652, allocations: 96.45 kB / 362.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.08654, allocations: 8 kB / 362.5 MB, free: 9.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.08659, allocations: 29.7 kB / 362.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.08669, allocations: 326.8 kB / 362.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.15e-05/0.08672, allocations: 19.98 kB / 362.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.405e-05/0.08682, allocations: 129.6 kB / 362.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.08696, allocations: 153.5 kB / 363.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.08697, allocations: 0 / 363.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001916/0.08717, allocations: 157.3 kB / 363.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.08719, allocations: 11.94 kB / 363.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.0872, allocations: 7.984 kB / 363.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.08722, allocations: 4 kB / 363.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.08733, allocations: 35.92 kB / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.08735, allocations: 11.94 kB / 363.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.08741, allocations: 15.78 kB / 363.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.08743, allocations: 8.406 kB / 363.3 MB, free: 8.859 MB / 302.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 9.648e-05/0.08753, allocations: 153.7 kB / 363.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.08769, allocations: 140.1 kB / 363.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.08775, allocations: 21.17 kB / 363.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.08775, allocations: 0 / 363.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.08776, allocations: 0 / 363.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.08777, allocations: 0 / 363.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.08789, allocations: 193.5 kB / 363.8 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.0879, allocations: 4 kB / 363.8 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.08801, allocations: 35.92 kB / 363.9 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.08802, allocations: 3.938 kB / 363.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.08803, allocations: 4 kB / 363.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.08804, allocations: 0 / 363.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.08804, allocations: 7.984 kB / 363.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.08823, allocations: 156.8 kB / 364 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/0.08831, allocations: 101 kB / 364.1 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.08833, allocations: 11.94 kB / 364.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.156e-05/0.08837, allocations: 7.984 kB / 364.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-06/0.08838, allocations: 4 kB / 364.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.08839, allocations: 0 / 364.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.09e-05/0.08846, allocations: 120.3 kB / 364.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.08847, allocations: 0 / 364.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.08869, allocations: 20 kB / 364.3 MB, free: 7.793 MB / 302.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.0005375/0.08923, allocations: 0.7795 MB / 365.1 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.08939, allocations: 104.6 kB / 365.2 MB, free: 6.887 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.0894, allocations: 0 / 365.2 MB, free: 6.887 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.08941, allocations: 128 / 365.2 MB, free: 6.887 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.08974, allocations: 102.4 kB / 365.3 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.09108, allocations: 1.738 MB / 367 MB, free: 4.875 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.09132, allocations: 0.7161 MB / 367.7 MB, free: 4.129 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.207e-05/0.09136, allocations: 13.08 kB / 367.8 MB, free: 4.113 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.09141, allocations: 31.42 kB / 367.8 MB, free: 4.082 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09141, allocations: 0 / 367.8 MB, free: 4.082 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01118/0.1026, allocations: 2.318 MB / 370.1 MB, free: 1.938 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.1029, allocations: 238.7 kB / 370.3 MB, free: 1.676 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/1.717, allocations: 0 / 370.3 MB, free: 1.676 MB / 302.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