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.001766/0.001766, allocations: 107.1 kB / 17.06 MB, free: 6.125 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.002752/0.002753, allocations: 199 kB / 18 MB, free: 5.199 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.491/2.491, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 51.92 kB / 350.8 MB, free: 3.781 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3652, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002267/0.3675, allocations: 0.9082 MB / 401.1 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003911/0.3679, allocations: 138.4 kB / 401.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.209e-05/0.368, allocations: 2.875 kB / 401.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.3681, allocations: 16.45 kB / 401.3 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.3683, allocations: 10.69 kB / 401.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.3685, allocations: 52.95 kB / 401.4 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.3687, allocations: 66.94 kB / 401.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.3688, allocations: 47.67 kB / 401.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.993e-05/0.3689, allocations: 22.22 kB / 401.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.091e-05/0.369, allocations: 38.97 kB / 401.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.369, allocations: 5.625 kB / 401.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.369, allocations: 5.75 kB / 401.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.665e-05/0.3691, allocations: 35.59 kB / 401.6 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.3692, allocations: 43.55 kB / 401.6 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.3694, allocations: 94.8 kB / 401.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3694, allocations: 3.938 kB / 401.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3694, allocations: 0 / 401.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.3694, allocations: 0.7812 kB / 401.7 MB, free: 7.355 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.0005384/0.3699, allocations: 417 kB / 402.1 MB, free: 6.902 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.37, allocations: 8.031 kB / 402.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.37, allocations: 42.75 kB / 402.2 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.3701, allocations: 20.75 kB / 402.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.3703, allocations: 215.9 kB / 402.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.3703, allocations: 4.375 kB / 402.4 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.3704, allocations: 8.375 kB / 402.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.3708, allocations: 227.7 kB / 402.6 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3708, allocations: 7.875 kB / 402.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3708, allocations: 8 kB / 402.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.3708, allocations: 3.984 kB / 402.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.583e-05/0.3709, allocations: 47.97 kB / 402.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.3711, allocations: 189.5 kB / 402.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.3713, allocations: 150.9 kB / 403 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.3715, allocations: 84.81 kB / 403.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.3715, allocations: 0 / 403.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.3715, allocations: 34.56 kB / 403.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 9.82e-07/0.3715, allocations: 0 / 403.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003082/0.3718, allocations: 180.6 kB / 403.3 MB, free: 5.562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.3719, allocations: 71.33 kB / 403.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.372, allocations: 155.9 kB / 403.6 MB, free: 5.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.3721, allocations: 29.7 kB / 403.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.3721, allocations: 88.47 kB / 403.7 MB, free: 5.191 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.3722, allocations: 19.83 kB / 403.7 MB, free: 5.172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.3722, allocations: 41.7 kB / 403.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3723, allocations: 322.8 kB / 404 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.3724, allocations: 23.98 kB / 404.1 MB, free: 4.777 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.188e-05/0.3725, allocations: 117.7 kB / 404.2 MB, free: 4.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.3726, allocations: 161.5 kB / 404.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3726, allocations: 4 kB / 404.3 MB, free: 4.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002751/0.3729, allocations: 161.2 kB / 404.5 MB, free: 4.238 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.373, allocations: 14.28 kB / 404.5 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.373, allocations: 0 / 404.5 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.373, allocations: 8.5 kB / 404.5 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3731, allocations: 35.92 kB / 404.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.3731, allocations: 7.938 kB / 404.6 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.42e-05/0.3732, allocations: 4 kB / 404.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3732, allocations: 12 kB / 404.6 MB, free: 4.16 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.0001182/0.3733, allocations: 146.3 kB / 404.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.3735, allocations: 137.3 kB / 404.9 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.3736, allocations: 25.17 kB / 404.9 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3736, allocations: 8 kB / 404.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3736, allocations: 4 kB / 404.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3736, allocations: 0 / 404.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.3738, allocations: 193.5 kB / 405.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3738, allocations: 0 / 405.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.3739, allocations: 23.98 kB / 405.1 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.3739, allocations: 7.938 kB / 405.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3739, allocations: 4 kB / 405.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.3739, allocations: 0 / 405.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3739, allocations: 7.875 kB / 405.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.3741, allocations: 168.9 kB / 405.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.443e-05/0.3742, allocations: 100.9 kB / 405.4 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.3743, allocations: 7.938 kB / 405.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.017e-05/0.3743, allocations: 4 kB / 405.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-06/0.3743, allocations: 0 / 405.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.3743, allocations: 7.984 kB / 405.4 MB, free: 3.227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.55e-05/0.3744, allocations: 118.1 kB / 405.5 MB, free: 3.113 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3744, allocations: 0 / 405.5 MB, free: 3.113 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.3746, allocations: 24 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.000571/0.3752, allocations: 0.7755 MB / 406.3 MB, free: 2.289 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.3754, allocations: 100.2 kB / 406.4 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3754, allocations: 0 / 406.4 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.3754, allocations: 0 / 406.4 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.3758, allocations: 104 kB / 406.5 MB, free: 2.094 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.3773, allocations: 1.702 MB / 408.2 MB, free: 224 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.3776, allocations: 0.724 MB / 408.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.544e-05/0.3777, allocations: 5.094 kB / 409 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.3777, allocations: 35.42 kB / 409 MB, free: 15.43 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3777, allocations: 0 / 409 MB, free: 15.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.4006, allocations: 2.668 MB / 411.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.978/9.379, allocations: 6.5 kB / 411.7 MB, free: 12.9 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