Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001259/0.001259, allocations: 113 kB / 17.07 MB, free: 6.008 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.001229/0.001229, allocations: 189.4 kB / 18 MB, free: 5.09 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.365/1.365, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 51.91 kB / 350.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.253, allocations: 49.43 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.00218/0.2552, allocations: 0.9156 MB / 401.2 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003487/0.2556, allocations: 128.2 kB / 401.3 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.2557, allocations: 5.25 kB / 401.3 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.2558, allocations: 17.17 kB / 401.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.159e-05/0.2559, allocations: 5.281 kB / 401.3 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.2561, allocations: 48.55 kB / 401.4 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.2562, allocations: 63.14 kB / 401.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2564, allocations: 42.41 kB / 401.5 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.645e-05/0.2564, allocations: 24.42 kB / 401.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.955e-05/0.2565, allocations: 38.03 kB / 401.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.2565, allocations: 5.969 kB / 401.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.2565, allocations: 9.219 kB / 401.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.944e-05/0.2566, allocations: 24.48 kB / 401.6 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.2566, allocations: 39.58 kB / 401.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.2568, allocations: 89.73 kB / 401.7 MB, free: 7.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2568, allocations: 0 / 401.7 MB, free: 7.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2568, allocations: 1.5 kB / 401.7 MB, free: 7.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.2568, allocations: 0 / 401.7 MB, free: 7.375 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.0004548/0.2573, allocations: 392.2 kB / 402.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2573, allocations: 17.16 kB / 402.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.113e-05/0.2574, allocations: 38.75 kB / 402.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.2574, allocations: 16.84 kB / 402.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.2577, allocations: 200.1 kB / 402.3 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.2577, allocations: 8.375 kB / 402.3 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.2577, allocations: 12.38 kB / 402.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.2581, allocations: 218.2 kB / 402.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2581, allocations: 3.938 kB / 402.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.2581, allocations: 0 / 402.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.2582, allocations: 4 kB / 402.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.2582, allocations: 39.97 kB / 402.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.2584, allocations: 185.6 kB / 402.8 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.2586, allocations: 130.9 kB / 402.9 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.2588, allocations: 80.83 kB / 403 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.2588, allocations: 0 / 403 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.2588, allocations: 30.56 kB / 403 MB, free: 5.883 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.2588, allocations: 0 / 403 MB, free: 5.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002929/0.2591, allocations: 165.4 kB / 403.2 MB, free: 5.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.2592, allocations: 62.92 kB / 403.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.2593, allocations: 144 kB / 403.4 MB, free: 5.496 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.2594, allocations: 33.7 kB / 403.4 MB, free: 5.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.2594, allocations: 84.47 kB / 403.5 MB, free: 5.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.2594, allocations: 11.94 kB / 403.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.2595, allocations: 37.7 kB / 403.6 MB, free: 5.312 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2596, allocations: 326.8 kB / 403.9 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.014e-05/0.2597, allocations: 20 kB / 403.9 MB, free: 4.965 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.2598, allocations: 109.7 kB / 404 MB, free: 4.809 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.26, allocations: 161.5 kB / 404.2 MB, free: 4.602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.26, allocations: 0 / 404.2 MB, free: 4.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000222/0.2602, allocations: 157.7 kB / 404.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2602, allocations: 11.88 kB / 404.3 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2602, allocations: 8.031 kB / 404.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2603, allocations: 4 kB / 404.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.674e-05/0.2603, allocations: 11.94 kB / 404.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.2603, allocations: 11.92 kB / 404.4 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.04e-05/0.2604, allocations: 11.94 kB / 404.4 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.2604, allocations: 8 kB / 404.4 MB, free: 4.375 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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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.0001326/0.2605, allocations: 138.4 kB / 404.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.2607, allocations: 129.4 kB / 404.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/0.2608, allocations: 21.17 kB / 404.7 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2608, allocations: 0 / 404.7 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2608, allocations: 4 kB / 404.7 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2608, allocations: 3.984 kB / 404.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.261, allocations: 181.6 kB / 404.8 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.261, allocations: 0 / 404.8 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.261, allocations: 7.938 kB / 404.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.261, allocations: 3.938 kB / 404.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.261, allocations: 0 / 404.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.261, allocations: 0 / 404.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.2611, allocations: 11.92 kB / 404.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.2613, allocations: 149 kB / 405 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.904e-05/0.2614, allocations: 108.9 kB / 405.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.2614, allocations: 4 kB / 405.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.935e-05/0.2614, allocations: 11.98 kB / 405.1 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-06/0.2615, allocations: 0 / 405.1 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.2615, allocations: 0 / 405.1 MB, free: 3.512 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.2616, allocations: 113.8 kB / 405.2 MB, free: 3.402 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2616, allocations: 0 / 405.2 MB, free: 3.402 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.2618, allocations: 16 kB / 405.3 MB, free: 3.387 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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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.0006646/0.2625, allocations: 0.7517 MB / 406 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.2627, allocations: 95.84 kB / 406.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2627, allocations: 0 / 406.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-07/0.2627, allocations: 0 / 406.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.2631, allocations: 81.86 kB / 406.2 MB, free: 2.438 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.2646, allocations: 1.627 MB / 407.8 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.265, allocations: 0.7201 MB / 408.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.616e-05/0.265, allocations: 4.656 kB / 408.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.2651, allocations: 27.42 kB / 408.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2651, allocations: 0 / 408.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.2881, allocations: 2.432 MB / 411 MB, free: 13.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.23, allocations: 6.5 kB / 411 MB, free: 13.56 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.6e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches