Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002499/0.002499, allocations: 212.9 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 52.05 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2532, allocations: 53.37 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002603/0.2558, allocations: 0.9164 MB / 432 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004647/0.2563, allocations: 151.5 kB / 432.2 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.941e-05/0.2564, allocations: 0 / 432.2 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.2565, allocations: 15.86 kB / 432.2 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.2566, allocations: 7.875 kB / 432.2 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.2569, allocations: 58.88 kB / 432.3 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.257, allocations: 63.78 kB / 432.3 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.2572, allocations: 27.97 kB / 432.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.371e-05/0.2572, allocations: 35.86 kB / 432.4 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.027e-05/0.2573, allocations: 35.84 kB / 432.4 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.2573, allocations: 4 kB / 432.4 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.625e-05/0.2573, allocations: 8 kB / 432.4 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.098e-05/0.2574, allocations: 35.83 kB / 432.5 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.2575, allocations: 47.67 kB / 432.5 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.2577, allocations: 99.81 kB / 432.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2577, allocations: 0 / 432.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2577, allocations: 0 / 432.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2577, allocations: 0 / 432.6 MB, free: 5.375 MB / 334.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.0005563/0.2582, allocations: 345.8 kB / 433 MB, free: 5.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2583, allocations: 8.031 kB / 433 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.303e-05/0.2583, allocations: 38.75 kB / 433 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.2584, allocations: 20.84 kB / 433 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.2586, allocations: 151.9 kB / 433.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.2587, allocations: 4.375 kB / 433.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.2587, allocations: 12.38 kB / 433.2 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.2591, allocations: 246.5 kB / 433.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.2591, allocations: 3.938 kB / 433.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2591, allocations: 4 kB / 433.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.2591, allocations: 3.984 kB / 433.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.249e-05/0.2592, allocations: 51.91 kB / 433.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.2595, allocations: 164.6 kB / 433.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.2598, allocations: 142.2 kB / 433.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.2599, allocations: 72.83 kB / 433.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.2599, allocations: 4 kB / 433.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.2599, allocations: 42.5 kB / 433.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.2599, allocations: 0 / 433.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000361/0.2603, allocations: 177.7 kB / 434.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.2604, allocations: 67.34 kB / 434.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.2605, allocations: 161.9 kB / 434.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.2605, allocations: 25.7 kB / 434.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.2606, allocations: 96.45 kB / 434.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.2606, allocations: 11.95 kB / 434.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.2607, allocations: 37.7 kB / 434.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2608, allocations: 326.8 kB / 434.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.15e-05/0.2609, allocations: 23.98 kB / 434.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.261, allocations: 117.7 kB / 434.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.2612, allocations: 157.5 kB / 435.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2612, allocations: 0 / 435.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000234/0.2614, allocations: 161.8 kB / 435.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2615, allocations: 7.938 kB / 435.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2615, allocations: 4 kB / 435.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2615, allocations: 7.938 kB / 435.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.2616, allocations: 35.92 kB / 435.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.2616, allocations: 7.984 kB / 435.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.06e-05/0.2617, allocations: 15.89 kB / 435.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.2617, allocations: 15.94 kB / 435.3 MB, free: 2.367 MB / 334.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.0001364/0.2618, allocations: 142.5 kB / 435.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/0.2621, allocations: 144.3 kB / 435.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.99e-05/0.2621, allocations: 25.11 kB / 435.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.2621, allocations: 4 kB / 435.6 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2621, allocations: 3.938 kB / 435.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2622, allocations: 0 / 435.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.2623, allocations: 160.7 kB / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2623, allocations: 0 / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.2624, allocations: 23.98 kB / 435.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.2624, allocations: 7.938 kB / 435.8 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.2624, allocations: 11.98 kB / 435.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2624, allocations: 0 / 435.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2624, allocations: 0 / 435.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.2626, allocations: 164.9 kB / 436 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.2627, allocations: 27.83 kB / 436 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.2627, allocations: 7.938 kB / 436 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.455e-05/0.2628, allocations: 4 kB / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-06/0.2628, allocations: 0 / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.2628, allocations: 11.98 kB / 436.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.129e-05/0.2629, allocations: 119.2 kB / 436.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2629, allocations: 0 / 436.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.2631, allocations: 16 kB / 436.2 MB, free: 1.438 MB / 334.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.0007042/0.2638, allocations: 0.7751 MB / 437 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.264, allocations: 98.73 kB / 437.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.264, allocations: 0 / 437.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.264, allocations: 3.938 kB / 437.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.2644, allocations: 87.66 kB / 437.2 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.2663, allocations: 1.721 MB / 438.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.2667, allocations: 0.7317 MB / 439.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.489e-05/0.2667, allocations: 9.031 kB / 439.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.2667, allocations: 31.42 kB / 439.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2667, allocations: 4 kB / 439.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.2982, allocations: 2.817 MB / 442.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.36, allocations: 11.98 kB / 442.5 MB, free: 11.07 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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 1.79641e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable assignClock1.y[2] in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[2] from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv failed! " [Timeout remaining time 660] "" 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] [Calling sys.exit(0), Time elapsed: 14.012307697001233]