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.001857/0.001857, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.002237/0.002236, allocations: 196 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.448/2.448, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001663, allocations: 43.92 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.4749, allocations: 49.45 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.003707/0.4787, allocations: 0.8887 MB / 401.1 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006177/0.4794, allocations: 146.9 kB / 401.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.4795, allocations: 6.156 kB / 401.3 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.4797, allocations: 9.125 kB / 401.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.4799, allocations: 23.17 kB / 401.3 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.4803, allocations: 48.53 kB / 401.4 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.4805, allocations: 66.92 kB / 401.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.4807, allocations: 39.7 kB / 401.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.356e-05/0.4808, allocations: 22.48 kB / 401.5 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.4809, allocations: 46.23 kB / 401.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.481, allocations: 5.781 kB / 401.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.277e-05/0.481, allocations: 5.594 kB / 401.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.709e-05/0.4811, allocations: 31.36 kB / 401.6 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.966e-05/0.4812, allocations: 48.7 kB / 401.6 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.4815, allocations: 105.7 kB / 401.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.4815, allocations: 0 / 401.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4815, allocations: 0.9375 kB / 401.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.4815, allocations: 0 / 401.7 MB, free: 7.348 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.0007862/0.4823, allocations: 402.9 kB / 402.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/0.4824, allocations: 12.03 kB / 402.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.428e-05/0.4825, allocations: 38.73 kB / 402.2 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.4825, allocations: 20.69 kB / 402.2 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.4829, allocations: 220 kB / 402.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.4829, allocations: 8.375 kB / 402.4 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.483, allocations: 4.375 kB / 402.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006287/0.4836, allocations: 242.7 kB / 402.6 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4836, allocations: 3.938 kB / 402.6 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.4836, allocations: 0 / 402.6 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.4837, allocations: 4 kB / 402.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.4838, allocations: 43.97 kB / 402.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.4841, allocations: 197.5 kB / 402.9 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.4845, allocations: 154.9 kB / 403 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.4847, allocations: 80.81 kB / 403.1 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.4847, allocations: 8 kB / 403.1 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.4848, allocations: 30.56 kB / 403.2 MB, free: 5.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.4848, allocations: 3.938 kB / 403.2 MB, free: 5.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.000478/0.4853, allocations: 169.7 kB / 403.3 MB, free: 5.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.523e-05/0.4854, allocations: 66.86 kB / 403.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.4856, allocations: 169.9 kB / 403.6 MB, free: 5.312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.4856, allocations: 29.7 kB / 403.6 MB, free: 5.277 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.4857, allocations: 92.47 kB / 403.7 MB, free: 5.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.4858, allocations: 15.83 kB / 403.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/0.4859, allocations: 33.72 kB / 403.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.4861, allocations: 322.8 kB / 404 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.827e-05/0.4861, allocations: 23.98 kB / 404.1 MB, free: 4.777 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.4863, allocations: 125.7 kB / 404.2 MB, free: 4.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.4865, allocations: 153.5 kB / 404.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4866, allocations: 0 / 404.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003865/0.487, allocations: 165.1 kB / 404.5 MB, free: 4.238 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.487, allocations: 18.58 kB / 404.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.487, allocations: 7.938 kB / 404.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.487, allocations: 4 kB / 404.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.4873, allocations: 36.42 kB / 404.6 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.4873, allocations: 8 kB / 404.6 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.737e-05/0.4874, allocations: 8 kB / 404.6 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.4874, allocations: 8 kB / 404.6 MB, free: 4.152 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.0001957/0.4876, allocations: 150.2 kB / 404.7 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/0.4879, allocations: 137.4 kB / 404.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.341e-05/0.488, allocations: 17.19 kB / 404.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.488, allocations: 0 / 404.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.488, allocations: 4 kB / 404.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.488, allocations: 4 kB / 404.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.4883, allocations: 193.5 kB / 405.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4883, allocations: 0 / 405.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.4885, allocations: 31.92 kB / 405.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4885, allocations: 3.938 kB / 405.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.4885, allocations: 4 kB / 405.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.4885, allocations: 7.938 kB / 405.1 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4885, allocations: 0 / 405.1 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.4889, allocations: 164.9 kB / 405.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.489, allocations: 104.9 kB / 405.4 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.4891, allocations: 3.938 kB / 405.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.523e-05/0.4891, allocations: 8 kB / 405.4 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-06/0.4891, allocations: 0 / 405.4 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.4892, allocations: 4 kB / 405.4 MB, free: 3.227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.4893, allocations: 126 kB / 405.5 MB, free: 3.105 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4893, allocations: 0 / 405.5 MB, free: 3.105 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004491/0.4898, allocations: 16 kB / 405.5 MB, free: 3.09 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.0009639/0.4908, allocations: 0.779 MB / 406.3 MB, free: 2.285 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.4911, allocations: 104.5 kB / 406.4 MB, free: 2.184 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4911, allocations: 0 / 406.4 MB, free: 2.184 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.4911, allocations: 4 kB / 406.4 MB, free: 2.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006314/0.4918, allocations: 91.86 kB / 406.5 MB, free: 2.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.4943, allocations: 1.71 MB / 408.2 MB, free: 212 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.4948, allocations: 0.7162 MB / 408.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.473e-05/0.4948, allocations: 13.08 kB / 409 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-05/0.4949, allocations: 27.44 kB / 409 MB, free: 15.43 MB / 334.1 MB Notification: Performance of SimCode: time 1.102e-06/0.495, allocations: 0 / 409 MB, free: 15.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.5261, allocations: 2.674 MB / 411.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.36, allocations: 2.438 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