Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 107.8 kB / 17.06 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 189.4 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 47.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2964, allocations: 49.44 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002491/0.2989, allocations: 0.9074 MB / 401.1 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000453/0.2994, allocations: 138.8 kB / 401.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.2995, allocations: 6.375 kB / 401.3 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.2996, allocations: 13.08 kB / 401.3 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.2998, allocations: 10.88 kB / 401.3 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.3001, allocations: 48.53 kB / 401.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.3002, allocations: 66.62 kB / 401.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.3004, allocations: 40.61 kB / 401.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.029e-05/0.3005, allocations: 29.12 kB / 401.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3006, allocations: 43.09 kB / 401.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.3006, allocations: 5.688 kB / 401.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.948e-05/0.3006, allocations: 5.688 kB / 401.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.3007, allocations: 31.16 kB / 401.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.706e-05/0.3008, allocations: 41.03 kB / 401.6 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.301, allocations: 104.4 kB / 401.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.301, allocations: 0 / 401.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3011, allocations: 1.188 kB / 401.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.3011, allocations: 0 / 401.7 MB, free: 7.336 MB / 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.0007095/0.3018, allocations: 419.5 kB / 402.1 MB, free: 6.879 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3018, allocations: 12.03 kB / 402.1 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.3019, allocations: 38.75 kB / 402.2 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.3019, allocations: 16.84 kB / 402.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.3022, allocations: 224 kB / 402.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.3023, allocations: 8.375 kB / 402.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.3023, allocations: 4.375 kB / 402.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.3028, allocations: 231.7 kB / 402.6 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3028, allocations: 7.875 kB / 402.7 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3028, allocations: 4 kB / 402.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.3029, allocations: 3.984 kB / 402.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.303, allocations: 43.97 kB / 402.7 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.3032, allocations: 201.5 kB / 402.9 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.3035, allocations: 147 kB / 403 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.3036, allocations: 84.81 kB / 403.1 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.3037, allocations: 4 kB / 403.1 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.3037, allocations: 30.56 kB / 403.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 3.537e-06/0.3037, allocations: 4 kB / 403.2 MB, free: 5.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003749/0.3041, allocations: 184.9 kB / 403.3 MB, free: 5.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.3042, allocations: 59.41 kB / 403.4 MB, free: 5.453 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.3044, allocations: 163.8 kB / 403.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.3044, allocations: 29.7 kB / 403.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.3045, allocations: 92.47 kB / 403.7 MB, free: 5.152 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.3045, allocations: 7.984 kB / 403.7 MB, free: 5.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.3046, allocations: 41.66 kB / 403.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3047, allocations: 330.8 kB / 404.1 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.171e-05/0.3048, allocations: 19.98 kB / 404.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.3049, allocations: 121.7 kB / 404.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.3051, allocations: 153.5 kB / 404.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.3051, allocations: 7.984 kB / 404.4 MB, free: 4.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002333/0.3054, allocations: 153.7 kB / 404.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3054, allocations: 12 kB / 404.5 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.3054, allocations: 4 kB / 404.5 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.3055, allocations: 15.88 kB / 404.5 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.3056, allocations: 27.98 kB / 404.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.3056, allocations: 7.938 kB / 404.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.796e-05/0.3057, allocations: 15.89 kB / 404.6 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.3057, allocations: 8 kB / 404.6 MB, free: 4.125 MB / 318.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.0001422/0.3059, allocations: 150.3 kB / 404.7 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.3061, allocations: 137.4 kB / 404.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.3061, allocations: 17.19 kB / 404.9 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3061, allocations: 4 kB / 404.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3061, allocations: 3.984 kB / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3061, allocations: 3.938 kB / 404.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.3063, allocations: 185.6 kB / 405.1 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3063, allocations: 0 / 405.1 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.3064, allocations: 31.92 kB / 405.1 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.3065, allocations: 7.938 kB / 405.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3065, allocations: 0 / 405.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3065, allocations: 4 kB / 405.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3065, allocations: 4 kB / 405.1 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.3067, allocations: 168.9 kB / 405.3 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/0.3068, allocations: 104.9 kB / 405.4 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.3069, allocations: 11.94 kB / 405.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.911e-05/0.3069, allocations: 0 / 405.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-06/0.3069, allocations: 0 / 405.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.3069, allocations: 4 kB / 405.4 MB, free: 3.199 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.307, allocations: 126.1 kB / 405.5 MB, free: 3.078 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.307, allocations: 0 / 405.5 MB, free: 3.078 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.3073, allocations: 20 kB / 405.6 MB, free: 3.059 MB / 318.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.0007392/0.308, allocations: 0.7777 MB / 406.3 MB, free: 2.258 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.3082, allocations: 107.7 kB / 406.4 MB, free: 2.152 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3082, allocations: 0 / 406.4 MB, free: 2.152 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.3082, allocations: 0 / 406.4 MB, free: 2.152 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.3086, allocations: 94.59 kB / 406.5 MB, free: 2.062 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.3105, allocations: 1.722 MB / 408.3 MB, free: 172 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.3109, allocations: 0.7201 MB / 409 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.166e-05/0.311, allocations: 13.08 kB / 409 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.311, allocations: 27.42 kB / 409 MB, free: 15.38 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.311, allocations: 0 / 409 MB, free: 15.38 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.3351, allocations: 2.628 MB / 411.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.282, allocations: 10.5 kB / 411.7 MB, free: 12.89 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches