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.00108/0.00108, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.001137/0.001137, allocations: 198.8 kB / 18.01 MB, free: 5.047 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.29/1.29, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009713/0.0009715, allocations: 47.94 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2401, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001982/0.2422, allocations: 0.9159 MB / 401.1 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003546/0.2425, allocations: 139 kB / 401.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.911e-05/0.2426, allocations: 2.375 kB / 401.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.907e-05/0.2427, allocations: 20.86 kB / 401.3 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.2428, allocations: 14.11 kB / 401.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.243, allocations: 49.52 kB / 401.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.2432, allocations: 66.83 kB / 401.4 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.2433, allocations: 44.47 kB / 401.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.351e-05/0.2433, allocations: 21.19 kB / 401.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.669e-05/0.2434, allocations: 39.84 kB / 401.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.2435, allocations: 5.875 kB / 401.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.2435, allocations: 5.25 kB / 401.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.854e-05/0.2435, allocations: 35.05 kB / 401.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.2436, allocations: 45.23 kB / 401.6 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.2437, allocations: 96.12 kB / 401.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2438, allocations: 3.938 kB / 401.7 MB, free: 7.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2438, allocations: 4.719 kB / 401.7 MB, free: 7.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.2438, allocations: 0 / 401.7 MB, free: 7.328 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.000461/0.2442, allocations: 412.6 kB / 402.1 MB, free: 6.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.2443, allocations: 12.03 kB / 402.1 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.2443, allocations: 38.75 kB / 402.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.2444, allocations: 12.84 kB / 402.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.2446, allocations: 227.7 kB / 402.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.2446, allocations: 8.375 kB / 402.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.2446, allocations: 8.375 kB / 402.4 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.245, allocations: 219.7 kB / 402.6 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.245, allocations: 7.875 kB / 402.6 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.245, allocations: 4 kB / 402.7 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.245, allocations: 11.94 kB / 402.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.989e-05/0.2451, allocations: 51.94 kB / 402.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.2453, allocations: 193.5 kB / 402.9 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.2455, allocations: 143 kB / 403 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.2456, allocations: 84.81 kB / 403.1 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.2456, allocations: 8 kB / 403.1 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.2457, allocations: 30.56 kB / 403.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.2457, allocations: 0 / 403.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002873/0.246, allocations: 181.6 kB / 403.3 MB, free: 5.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.246, allocations: 67.39 kB / 403.4 MB, free: 5.449 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.2462, allocations: 158.2 kB / 403.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.2462, allocations: 25.7 kB / 403.6 MB, free: 5.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.2462, allocations: 100.5 kB / 403.7 MB, free: 5.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.2463, allocations: 15.92 kB / 403.7 MB, free: 5.133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.2463, allocations: 41.66 kB / 403.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.2464, allocations: 322.8 kB / 404.1 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.713e-05/0.2464, allocations: 19.98 kB / 404.1 MB, free: 4.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.495e-05/0.2465, allocations: 124.4 kB / 404.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.2467, allocations: 157.5 kB / 404.4 MB, free: 4.371 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2467, allocations: 0 / 404.4 MB, free: 4.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001947/0.2469, allocations: 161.4 kB / 404.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2469, allocations: 7.938 kB / 404.5 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2469, allocations: 4 kB / 404.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.2469, allocations: 4 kB / 404.5 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.2471, allocations: 39.92 kB / 404.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.2471, allocations: 7.938 kB / 404.6 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.2471, allocations: 11.89 kB / 404.6 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2471, allocations: 8.406 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.0001044/0.2473, allocations: 142.4 kB / 404.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.2474, allocations: 148 kB / 404.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/0.2475, allocations: 21.17 kB / 404.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2475, allocations: 4 kB / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2475, allocations: 0 / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2475, allocations: 0 / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.2476, allocations: 193.6 kB / 405.1 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2476, allocations: 4 kB / 405.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.2477, allocations: 23.98 kB / 405.1 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2477, allocations: 3.938 kB / 405.1 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2478, allocations: 8 kB / 405.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.2478, allocations: 3.938 kB / 405.1 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2478, allocations: 7.875 kB / 405.1 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.248, allocations: 164.9 kB / 405.3 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.248, allocations: 104.9 kB / 405.4 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.2481, allocations: 11.94 kB / 405.4 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.267e-05/0.2481, allocations: 8 kB / 405.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-06/0.2481, allocations: 0 / 405.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.2481, allocations: 4 kB / 405.4 MB, free: 3.188 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.146e-05/0.2482, allocations: 118.1 kB / 405.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2482, allocations: 0 / 405.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.2485, allocations: 24 kB / 405.6 MB, free: 3.051 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.000503/0.249, allocations: 0.7754 MB / 406.3 MB, free: 2.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.2491, allocations: 100.7 kB / 406.4 MB, free: 2.152 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2492, allocations: 0 / 406.4 MB, free: 2.152 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2492, allocations: 128 / 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.0003345/0.2495, allocations: 102.6 kB / 406.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.2508, allocations: 1.705 MB / 408.2 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.251, allocations: 0.724 MB / 409 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.516e-05/0.2511, 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.502e-05/0.2511, allocations: 31.42 kB / 409 MB, free: 15.38 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2511, allocations: 0 / 409 MB, free: 15.38 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.2676, allocations: 2.642 MB / 411.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/7.873, allocations: 4.062 kB / 411.7 MB, free: 12.88 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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_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.csv","/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) "Error: Could not read variable assignClock1.y[2] in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[2] from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv failed! " Variables in the reference:time,assignClock1.y[1],assignClock1.y[2] Variables in the result:time,previous(unitDelay1.u),previous(unitDelay2.u),assignClock1.u[1],assignClock1.u[2],assignClock1.y[1]