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.001701/0.001701, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00207/0.00207, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.002291/0.002291, allocations: 47.92 kB / 377.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2864, allocations: 53.36 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002334/0.2888, allocations: 0.9159 MB / 432.1 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004248/0.2892, allocations: 147.5 kB / 432.2 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.577e-05/0.2893, allocations: 7.875 kB / 432.2 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.2894, allocations: 15.86 kB / 432.2 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.2895, allocations: 15.91 kB / 432.2 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.2898, allocations: 51.89 kB / 432.3 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.2899, allocations: 67.77 kB / 432.4 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.29, allocations: 23.98 kB / 432.4 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.068e-05/0.2901, allocations: 31.86 kB / 432.4 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.45e-05/0.2902, allocations: 39.83 kB / 432.4 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.2902, allocations: 4 kB / 432.5 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.685e-05/0.2902, allocations: 8 kB / 432.5 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.266e-05/0.2903, allocations: 27.86 kB / 432.5 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.2904, allocations: 47.67 kB / 432.5 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.2905, allocations: 103.9 kB / 432.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2905, allocations: 0 / 432.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2905, allocations: 0 / 432.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.2905, 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.0005742/0.2911, allocations: 337.8 kB / 433 MB, free: 5.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2912, allocations: 8.031 kB / 433 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.752e-05/0.2912, allocations: 46.73 kB / 433 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.2912, allocations: 16.84 kB / 433 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.2915, allocations: 154.3 kB / 433.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.2915, allocations: 4.375 kB / 433.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.2915, allocations: 12.38 kB / 433.2 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/0.292, allocations: 242.4 kB / 433.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.292, allocations: 3.938 kB / 433.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.292, allocations: 8 kB / 433.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.292, allocations: 0 / 433.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.874e-05/0.2921, allocations: 47.97 kB / 433.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.2923, allocations: 164.6 kB / 433.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.2925, allocations: 135 kB / 433.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.2927, allocations: 84.75 kB / 433.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.2927, allocations: 4 kB / 433.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.2927, allocations: 34.56 kB / 433.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.2927, allocations: 0 / 433.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003296/0.293, allocations: 177.6 kB / 434.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.2931, allocations: 65.23 kB / 434.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.2933, allocations: 167.5 kB / 434.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2933, allocations: 29.64 kB / 434.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.2933, allocations: 96.47 kB / 434.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.2933, allocations: 15.94 kB / 434.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.658e-05/0.2934, allocations: 37.7 kB / 434.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2935, allocations: 322.8 kB / 434.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.936e-05/0.2936, allocations: 23.98 kB / 434.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.2937, allocations: 117.7 kB / 434.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.2939, allocations: 153.5 kB / 435.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2939, allocations: 0 / 435.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002267/0.2941, allocations: 165.3 kB / 435.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.2941, allocations: 11.88 kB / 435.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2941, allocations: 4 kB / 435.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.2942, allocations: 4 kB / 435.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.2943, allocations: 31.98 kB / 435.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.2943, allocations: 8.438 kB / 435.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.2943, allocations: 11.89 kB / 435.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.2944, allocations: 20 kB / 435.3 MB, free: 2.375 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.000128/0.2945, allocations: 145.8 kB / 435.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.2947, allocations: 145.4 kB / 435.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.2947, allocations: 21.12 kB / 435.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2947, allocations: 4 kB / 435.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2947, allocations: 0 / 435.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2947, allocations: 3.984 kB / 435.7 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.2949, allocations: 164.7 kB / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2949, allocations: 0 / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.295, allocations: 27.92 kB / 435.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.295, allocations: 7.938 kB / 435.8 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.295, allocations: 4 kB / 435.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.295, allocations: 0 / 435.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.295, allocations: 0 / 435.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.2952, allocations: 167.8 kB / 436 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.2953, allocations: 31.83 kB / 436 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.2953, allocations: 7.938 kB / 436.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.153e-05/0.2953, allocations: 4 kB / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-06/0.2953, allocations: 0 / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.2953, allocations: 4 kB / 436.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.912e-05/0.2954, allocations: 119.2 kB / 436.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2954, allocations: 0 / 436.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000229/0.2957, allocations: 16 kB / 436.2 MB, free: 1.445 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.0007265/0.2964, allocations: 0.7748 MB / 437 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.2966, allocations: 108.4 kB / 437.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2966, allocations: 320 / 437.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2966, allocations: 4 kB / 437.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.297, allocations: 94.66 kB / 437.2 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.2987, allocations: 1.721 MB / 438.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.2991, allocations: 0.7201 MB / 439.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.021e-05/0.2991, allocations: 13.08 kB / 439.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.506e-05/0.2992, allocations: 27.44 kB / 439.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2992, allocations: 0 / 439.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.332, allocations: 2.822 MB / 442.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.21, allocations: 5.484 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.76955098984763]