Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001934/0.001934, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002312/0.002312, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 59.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2775, allocations: 50.54 MB / 408.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002394/0.28, allocations: 0.8957 MB / 409.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003933/0.2804, allocations: 139.6 kB / 409.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.2805, allocations: 0 / 409.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.2806, allocations: 19.81 kB / 409.8 MB, free: 496 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.2807, allocations: 7.922 kB / 409.8 MB, free: 488 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.281, allocations: 55.39 kB / 409.9 MB, free: 436 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.2811, allocations: 63.77 kB / 409.9 MB, free: 372 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.2813, allocations: 47.95 kB / 410 MB, free: 324 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.657e-05/0.2813, allocations: 31.92 kB / 410 MB, free: 292 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.025e-05/0.2814, allocations: 43.77 kB / 410 MB, free: 248 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.2815, allocations: 4 kB / 410.1 MB, free: 244 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.553e-05/0.2815, allocations: 8 kB / 410.1 MB, free: 236 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.686e-05/0.2815, allocations: 23.92 kB / 410.1 MB, free: 212 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.2816, allocations: 47.67 kB / 410.1 MB, free: 164 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.2818, allocations: 102.4 kB / 410.2 MB, free: 64 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2818, allocations: 0 / 410.2 MB, free: 64 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2818, allocations: 0 / 410.2 MB, free: 64 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.2818, allocations: 3.938 kB / 410.2 MB, free: 60 kB / 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.0005719/0.2824, allocations: 414.9 kB / 410.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2824, allocations: 8.031 kB / 410.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.2825, allocations: 42.73 kB / 410.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.2825, allocations: 16.84 kB / 410.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.2828, allocations: 216.1 kB / 410.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.2828, allocations: 4.375 kB / 410.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.2828, allocations: 8.375 kB / 410.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.2833, allocations: 245.6 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.2833, allocations: 7.938 kB / 411.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.2834, allocations: 4 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.2834, allocations: 0 / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.617e-05/0.2835, allocations: 47.97 kB / 411.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.2836, allocations: 193.5 kB / 411.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.2839, allocations: 146.9 kB / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.284, allocations: 88.81 kB / 411.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.284, allocations: 0 / 411.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.2841, allocations: 34.56 kB / 411.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.2841, allocations: 0 / 411.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003027/0.2844, allocations: 184.6 kB / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.2845, allocations: 59.41 kB / 411.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2846, allocations: 165.4 kB / 412.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.2847, allocations: 29.7 kB / 412.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.2847, allocations: 92.41 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.2847, allocations: 15.94 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.2848, allocations: 37.72 kB / 412.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.285, allocations: 322.8 kB / 412.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.285, allocations: 19.98 kB / 412.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.2851, allocations: 137.7 kB / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.2853, allocations: 145.5 kB / 412.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2853, allocations: 4 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000225/0.2855, allocations: 157.8 kB / 413 MB, free: 12.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.2856, allocations: 15.92 kB / 413 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2856, allocations: 4 kB / 413 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2856, allocations: 4 kB / 413 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.2857, allocations: 35.92 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.2858, allocations: 7.938 kB / 413.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.2858, allocations: 15.89 kB / 413.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.2859, allocations: 8 kB / 413.1 MB, free: 12.84 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.0001459/0.286, allocations: 153.7 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.2862, allocations: 145.4 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.2863, allocations: 13.19 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.2863, allocations: 4 kB / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2863, allocations: 0 / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2863, allocations: 0 / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.2865, allocations: 197.6 kB / 413.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2865, allocations: 0 / 413.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.2866, allocations: 23.98 kB / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.2866, allocations: 7.938 kB / 413.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.2866, allocations: 15.88 kB / 413.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2866, allocations: 0 / 413.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2866, allocations: 0 / 413.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.2868, allocations: 160.4 kB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.287, allocations: 108.9 kB / 413.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.287, allocations: 11.94 kB / 413.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.3e-05/0.287, allocations: 4 kB / 413.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-06/0.287, allocations: 0 / 413.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.2871, allocations: 8 kB / 413.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.944e-05/0.2872, allocations: 118.3 kB / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2872, allocations: 0 / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.2874, allocations: 20 kB / 414.1 MB, free: 11.77 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.2881, allocations: 0.7762 MB / 414.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.2883, allocations: 103.7 kB / 415 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2883, allocations: 0 / 415 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2883, allocations: 0 / 415 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.2888, allocations: 98.09 kB / 415.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.2907, allocations: 1.708 MB / 416.8 MB, free: 8.895 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.2911, allocations: 0.72 MB / 417.5 MB, free: 8.148 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.705e-05/0.2912, allocations: 9.078 kB / 417.5 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.2912, allocations: 31.38 kB / 417.5 MB, free: 8.109 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2913, allocations: 4 kB / 417.5 MB, free: 8.105 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.3181, allocations: 2.612 MB / 420.1 MB, free: 5.633 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.255, allocations: 15.55 kB / 420.2 MB, free: 5.621 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[2] from file Modelica_trunk_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]