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.001365/0.001365, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3304, allocations: 50.55 MB / 408.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002146/0.3326, allocations: 0.8931 MB / 409.6 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003627/0.333, allocations: 143.6 kB / 409.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.204e-05/0.3331, allocations: 7.938 kB / 409.8 MB, free: 496 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.3332, allocations: 11.86 kB / 409.8 MB, free: 484 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.3333, allocations: 15.92 kB / 409.8 MB, free: 468 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.3335, allocations: 47.52 kB / 409.9 MB, free: 424 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.3337, allocations: 63.77 kB / 409.9 MB, free: 360 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3338, allocations: 47.97 kB / 410 MB, free: 312 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.666e-05/0.3339, allocations: 27.91 kB / 410 MB, free: 284 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.3339, allocations: 39.78 kB / 410 MB, free: 244 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.334, allocations: 4 kB / 410 MB, free: 240 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.334, allocations: 8 kB / 410.1 MB, free: 232 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.3341, allocations: 27.92 kB / 410.1 MB, free: 204 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.3341, allocations: 47.67 kB / 410.1 MB, free: 156 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.3343, allocations: 99.52 kB / 410.2 MB, free: 56 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3343, allocations: 0 / 410.2 MB, free: 56 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.3343, allocations: 4 kB / 410.2 MB, free: 52 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3343, allocations: 0 / 410.2 MB, free: 52 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.0004782/0.3348, allocations: 404.7 kB / 410.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.3348, allocations: 8.031 kB / 410.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.3349, allocations: 42.75 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.3349, allocations: 16.75 kB / 410.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.3351, allocations: 220 kB / 410.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.3352, allocations: 8.312 kB / 410.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.3352, allocations: 12.38 kB / 410.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.3356, allocations: 249.8 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3356, allocations: 7.922 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3356, allocations: 4 kB / 411.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3356, allocations: 0 / 411.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.633e-05/0.3357, allocations: 47.97 kB / 411.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.3358, allocations: 189.5 kB / 411.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.3361, allocations: 150.8 kB / 411.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.3363, allocations: 84.91 kB / 411.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.3363, allocations: 0 / 411.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.3363, allocations: 38.56 kB / 411.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.3363, allocations: 0 / 411.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002836/0.3366, allocations: 181.5 kB / 411.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.3367, allocations: 62.64 kB / 411.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.3368, allocations: 165.3 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.3368, allocations: 25.7 kB / 412.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.3369, allocations: 96.45 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.3369, allocations: 11.84 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.337, allocations: 41.7 kB / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.3371, allocations: 322.8 kB / 412.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.571e-05/0.3371, allocations: 23.98 kB / 412.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.794e-05/0.3372, allocations: 129.6 kB / 412.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.3374, allocations: 153.5 kB / 412.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3374, allocations: 0 / 412.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001997/0.3376, allocations: 157.2 kB / 413 MB, free: 12.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3376, allocations: 11.94 kB / 413 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3376, allocations: 4 kB / 413 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3376, allocations: 4 kB / 413 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3377, allocations: 32.42 kB / 413.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.3378, allocations: 15.94 kB / 413.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.296e-05/0.3378, allocations: 7.906 kB / 413.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.3378, allocations: 16 kB / 413.1 MB, free: 12.83 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.0001112/0.3379, allocations: 153.6 kB / 413.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.3381, allocations: 129.5 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.3382, allocations: 25.17 kB / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3382, allocations: 0 / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3382, allocations: 4 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3382, allocations: 0 / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.3383, allocations: 197.4 kB / 413.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3383, allocations: 0 / 413.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.3384, allocations: 31.92 kB / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3384, allocations: 3.938 kB / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3385, allocations: 4 kB / 413.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3385, allocations: 7.922 kB / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3385, allocations: 4 kB / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.3387, allocations: 160.9 kB / 413.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/0.3387, allocations: 104.9 kB / 413.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.3388, allocations: 3.938 kB / 413.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.265e-05/0.3388, allocations: 7.984 kB / 413.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-06/0.3388, allocations: 0 / 413.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.3388, allocations: 4 kB / 413.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.833e-05/0.3389, allocations: 122.3 kB / 414.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3389, allocations: 0 / 414.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.3391, allocations: 16 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.0005723/0.3397, allocations: 0.7873 MB / 414.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.3399, allocations: 104.5 kB / 415 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3399, allocations: 4 kB / 415 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-07/0.3399, allocations: 0 / 415 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.3403, allocations: 87.88 kB / 415 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.3417, allocations: 1.695 MB / 416.7 MB, free: 8.895 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.342, allocations: 0.7277 MB / 417.5 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.982e-05/0.342, allocations: 5.094 kB / 417.5 MB, free: 8.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.3421, allocations: 35.42 kB / 417.5 MB, free: 8.102 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3421, allocations: 0 / 417.5 MB, free: 8.102 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.3611, allocations: 2.658 MB / 420.2 MB, free: 5.59 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.817, allocations: 7.922 kB / 420.2 MB, free: 5.582 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