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.001761/0.001761, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001981/0.001981, allocations: 194.6 kB / 23.71 MB, free: 4.406 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.382/1.382, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.001575/0.001575, allocations: 51.86 kB / 370.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2606, allocations: 52.18 MB / 422.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002313/0.2629, allocations: 0.9157 MB / 423.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003805/0.2633, allocations: 135.6 kB / 423.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.564e-05/0.2634, allocations: 7.938 kB / 423.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.2635, allocations: 11.86 kB / 423.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.2636, allocations: 23.84 kB / 423.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.2638, allocations: 39.95 kB / 423.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.264, allocations: 79.7 kB / 423.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.2641, allocations: 19.98 kB / 423.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.139e-05/0.2641, allocations: 31.86 kB / 423.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.2642, allocations: 39.77 kB / 423.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.2642, allocations: 4 kB / 423.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.705e-05/0.2643, allocations: 8 kB / 423.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.986e-05/0.2643, allocations: 31.86 kB / 423.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.2644, allocations: 31.8 kB / 423.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.2645, allocations: 105.1 kB / 424 MB, free: 12.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2645, allocations: 0 / 424 MB, free: 12.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2645, allocations: 7.938 kB / 424 MB, free: 12.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2645, allocations: 0 / 424 MB, free: 12.93 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.0004939/0.265, allocations: 337.8 kB / 424.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.2651, allocations: 8.031 kB / 424.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.2651, allocations: 42.73 kB / 424.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.2651, allocations: 12.84 kB / 424.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.2654, allocations: 162.2 kB / 424.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.2654, allocations: 4.375 kB / 424.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.2654, allocations: 8.375 kB / 424.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.2658, allocations: 230.2 kB / 424.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2658, allocations: 3.938 kB / 424.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.2658, allocations: 8 kB / 424.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2658, allocations: 0 / 424.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.295e-05/0.2659, allocations: 43.97 kB / 424.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.2661, allocations: 160.6 kB / 425 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.2663, allocations: 142.6 kB / 425.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.2664, allocations: 88.69 kB / 425.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.2664, allocations: 4 kB / 425.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.2665, allocations: 30.56 kB / 425.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.2665, allocations: 0 / 425.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003071/0.2668, allocations: 189.6 kB / 425.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.2668, allocations: 59.41 kB / 425.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.267, allocations: 161.7 kB / 425.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.267, allocations: 29.7 kB / 425.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.267, allocations: 96.45 kB / 425.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.2671, allocations: 12 kB / 425.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.2671, allocations: 37.66 kB / 425.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2673, allocations: 326.8 kB / 426.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.2673, allocations: 19.98 kB / 426.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.2674, allocations: 125.7 kB / 426.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.2676, allocations: 149.5 kB / 426.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2676, allocations: 0 / 426.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002309/0.2678, allocations: 161.2 kB / 426.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2678, allocations: 11.94 kB / 426.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.2678, allocations: 8 kB / 426.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2678, allocations: 4 kB / 426.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.268, allocations: 32.42 kB / 426.7 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.268, allocations: 11.98 kB / 426.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.856e-05/0.268, allocations: 19.89 kB / 426.7 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.268, allocations: 11.94 kB / 426.7 MB, free: 9.938 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.0001239/0.2682, allocations: 141.8 kB / 426.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.2683, allocations: 145.4 kB / 427 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/0.2684, allocations: 21.11 kB / 427 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2684, allocations: 0 / 427 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2684, allocations: 4 kB / 427 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.2684, allocations: 4 kB / 427.1 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.2685, allocations: 152.7 kB / 427.2 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2685, allocations: 0 / 427.2 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.2686, allocations: 27.92 kB / 427.2 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2686, allocations: 3.938 kB / 427.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.2686, allocations: 8 kB / 427.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2686, allocations: 0 / 427.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2686, allocations: 0 / 427.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.2688, allocations: 168.3 kB / 427.4 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.2689, allocations: 31.83 kB / 427.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.2689, allocations: 7.922 kB / 427.4 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.522e-05/0.269, allocations: 12 kB / 427.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-06/0.269, allocations: 0 / 427.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.269, allocations: 4 kB / 427.5 MB, free: 9.148 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.498e-05/0.2691, allocations: 115.2 kB / 427.6 MB, free: 9.035 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2691, allocations: 3.938 kB / 427.6 MB, free: 9.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.2693, allocations: 16 kB / 427.6 MB, free: 9.016 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.0006208/0.2699, allocations: 0.7716 MB / 428.4 MB, free: 8.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.2701, allocations: 107.8 kB / 428.5 MB, free: 8.113 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2701, allocations: 0 / 428.5 MB, free: 8.113 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.2701, allocations: 0 / 428.5 MB, free: 8.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.2704, allocations: 89.97 kB / 428.6 MB, free: 8.027 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.272, allocations: 1.733 MB / 430.3 MB, free: 6.121 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.2721, allocations: 109.2 kB / 430.4 MB, free: 5.992 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.321e-05/0.2722, allocations: 5.094 kB / 430.4 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.2722, allocations: 31.42 kB / 430.4 MB, free: 5.953 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2722, allocations: 0 / 430.4 MB, free: 5.953 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.3006, allocations: 3.249 MB / 433.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.22, allocations: 8 kB / 433.7 MB, free: 2.852 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.676698989234865]