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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 109.5 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002173/0.002173, allocations: 187.1 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 51.92 kB / 370.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2677, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002437/0.2701, allocations: 0.9343 MB / 423.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003865/0.2705, allocations: 147.6 kB / 423.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.928e-05/0.2706, allocations: 7.938 kB / 423.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.2707, allocations: 11.86 kB / 423.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.2708, allocations: 11.92 kB / 423.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.2711, allocations: 51.14 kB / 423.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.2712, allocations: 71.7 kB / 423.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.2713, allocations: 27.98 kB / 423.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.249e-05/0.2714, allocations: 27.92 kB / 423.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.2715, allocations: 39.77 kB / 423.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.2715, allocations: 8 kB / 424 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.2715, allocations: 4 kB / 424 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.2716, allocations: 31.91 kB / 424 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.749e-05/0.2717, allocations: 47.62 kB / 424 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.2719, allocations: 103.9 kB / 424.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2719, allocations: 0 / 424.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2719, allocations: 0 / 424.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2719, allocations: 0 / 424.1 MB, free: 13.1 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.0005964/0.2725, allocations: 333.8 kB / 424.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2725, allocations: 8.031 kB / 424.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.427e-05/0.2726, allocations: 46.73 kB / 424.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.2726, allocations: 20.78 kB / 424.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.2729, allocations: 158.2 kB / 424.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.2729, allocations: 8.375 kB / 424.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.2729, allocations: 4.375 kB / 424.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.2733, allocations: 230.2 kB / 424.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2733, allocations: 7.938 kB / 424.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.2733, allocations: 7.938 kB / 424.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2734, allocations: 0 / 424.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.88e-05/0.2734, allocations: 47.95 kB / 425 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.2736, allocations: 168.6 kB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.2739, allocations: 142.9 kB / 425.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.274, allocations: 76.81 kB / 425.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.274, allocations: 0 / 425.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.274, allocations: 38.56 kB / 425.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 8.92e-07/0.274, allocations: 0 / 425.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003214/0.2743, allocations: 177.6 kB / 425.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.2744, allocations: 67 kB / 425.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.2746, allocations: 173.6 kB / 425.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.2746, allocations: 29.7 kB / 425.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.2747, allocations: 88.47 kB / 425.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.2747, allocations: 7.984 kB / 425.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.2748, allocations: 45.66 kB / 426 MB, free: 11.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2749, allocations: 322.8 kB / 426.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.667e-05/0.275, allocations: 23.98 kB / 426.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.2751, allocations: 117.7 kB / 426.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.2753, allocations: 157.5 kB / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2753, allocations: 0 / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002757/0.2756, allocations: 165.2 kB / 426.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.2756, allocations: 11.94 kB / 426.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.2756, allocations: 4 kB / 426.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.2756, allocations: 4 kB / 426.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.2758, allocations: 28.48 kB / 426.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.2758, allocations: 11.94 kB / 426.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.442e-05/0.2759, allocations: 19.89 kB / 426.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.2759, allocations: 8 kB / 426.8 MB, free: 10.11 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.0001478/0.276, allocations: 141.8 kB / 427 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.2762, allocations: 141.4 kB / 427.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.314e-05/0.2763, allocations: 17.12 kB / 427.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2763, allocations: 0 / 427.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2763, allocations: 7.984 kB / 427.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.2763, allocations: 0 / 427.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.2764, allocations: 156.7 kB / 427.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2764, allocations: 3.938 kB / 427.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.2766, allocations: 31.92 kB / 427.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2766, allocations: 3.938 kB / 427.3 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.2766, allocations: 7.938 kB / 427.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2766, allocations: 4 kB / 427.3 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2766, allocations: 0 / 427.3 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.2769, allocations: 172.9 kB / 427.5 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.2769, allocations: 27.83 kB / 427.5 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.277, allocations: 7.938 kB / 427.5 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.76e-05/0.277, allocations: 4 kB / 427.5 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-06/0.277, allocations: 0 / 427.5 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.277, allocations: 4 kB / 427.6 MB, free: 9.312 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.2771, allocations: 118.1 kB / 427.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2771, allocations: 0 / 427.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.2774, allocations: 20 kB / 427.7 MB, free: 9.18 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.0006734/0.2781, allocations: 0.7685 MB / 428.5 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.2783, allocations: 112.1 kB / 428.6 MB, free: 8.277 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2783, allocations: 0 / 428.6 MB, free: 8.277 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.2783, allocations: 0 / 428.6 MB, free: 8.277 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.2787, allocations: 87.03 kB / 428.7 MB, free: 8.195 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.2804, allocations: 1.721 MB / 430.4 MB, free: 6.297 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.2807, allocations: 0.7162 MB / 431.1 MB, free: 5.555 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.758e-05/0.2808, allocations: 17.08 kB / 431.1 MB, free: 5.535 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/0.2808, allocations: 31.42 kB / 431.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2808, allocations: 0 / 431.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/0.3097, allocations: 2.816 MB / 434 MB, free: 2.824 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.23, allocations: 7.922 kB / 434 MB, free: 2.816 MB / 334.1 MB " [Timeout remaining time 649] (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 1.79641e-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) [Timeout 52.5] 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) [Timeout 660] "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! " [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: 13.798756534997665]