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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009928/0.0009928, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8805/0.8805, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.465e-05, allocations: 7.125 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002759/0.002783, allocations: 0.9086 MB / 325.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004657/0.003249, allocations: 143.5 kB / 325.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.902e-05/0.003348, allocations: 7.938 kB / 325.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.003471, allocations: 15.8 kB / 325.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.003633, allocations: 15.92 kB / 325.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.003894, allocations: 47.88 kB / 325.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.004039, allocations: 67.77 kB / 325.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.004198, allocations: 27.98 kB / 325.7 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.722e-05/0.004265, allocations: 35.89 kB / 325.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.801e-05/0.004363, allocations: 27.91 kB / 325.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.004397, allocations: 7.984 kB / 325.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.893e-05/0.004416, allocations: 8 kB / 325.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.28e-05/0.004489, allocations: 31.86 kB / 325.9 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.004537, allocations: 23.92 kB / 325.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.004711, allocations: 95.61 kB / 326 MB, free: 14.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.004715, allocations: 4 kB / 326 MB, free: 14.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.004716, allocations: 0 / 326 MB, free: 14.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.004722, allocations: 0 / 326 MB, free: 14.44 MB / 298.7 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.0005839/0.005306, allocations: 345.7 kB / 326.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.005354, allocations: 11.98 kB / 326.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.146e-05/0.005406, allocations: 42.75 kB / 326.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.005443, allocations: 12.84 kB / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.005677, allocations: 150.4 kB / 326.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.005694, allocations: 8.375 kB / 326.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.005708, allocations: 4.375 kB / 326.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.006132, allocations: 262.1 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.006143, allocations: 192 / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.006163, allocations: 4.375 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.006171, allocations: 4.125 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.176e-05/0.006263, allocations: 47.91 kB / 326.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.006445, allocations: 152.7 kB / 327 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.006693, allocations: 146.9 kB / 327.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.006808, allocations: 81.09 kB / 327.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.006822, allocations: 4 kB / 327.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.00685, allocations: 38.44 kB / 327.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.006852, allocations: 0 / 327.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003168/0.007169, allocations: 172.4 kB / 327.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.007228, allocations: 63.34 kB / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.007389, allocations: 174 kB / 327.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.007402, allocations: 25.7 kB / 327.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.007442, allocations: 96.47 kB / 327.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.007458, allocations: 3.953 kB / 327.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.00749, allocations: 25.7 kB / 327.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.007573, allocations: 318.8 kB / 328.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.007585, allocations: 8 kB / 328.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.058e-05/0.007605, allocations: 21.66 kB / 328.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.086e-05/0.007636, allocations: 21.72 kB / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.007638, allocations: 0 / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.822e-05/0.007706, allocations: 69.58 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.007721, allocations: 8 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.007726, allocations: 0 / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.007739, allocations: 0 / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.768e-05/0.007796, allocations: 11.94 kB / 328.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.007802, allocations: 0 / 328.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.504e-05/0.007817, allocations: 96 / 328.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.007823, allocations: 4 kB / 328.3 MB, free: 11.94 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.unitDelay2.u,unitDelay2.u,$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 (4): * Single equations (assignments): 4 * 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 7.982e-05/0.007903, allocations: 129.8 kB / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.008028, allocations: 141.4 kB / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.008062, allocations: 21.11 kB / 328.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.008064, allocations: 4 kB / 328.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.00807, allocations: 7.938 kB / 328.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.008073, allocations: 0 / 328.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.528e-05/0.008158, allocations: 152.7 kB / 328.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.008159, allocations: 0 / 328.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.752e-05/0.008247, allocations: 23.98 kB / 328.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.008249, allocations: 0 / 328.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.008257, allocations: 8 kB / 328.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.008259, allocations: 3.984 kB / 328.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.008263, allocations: 3.938 kB / 328.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.008405, allocations: 172.9 kB / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.008453, allocations: 31.83 kB / 328.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.008468, allocations: 0 / 328.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.694e-05/0.008485, allocations: 8 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-06/0.00849, allocations: 7.922 kB / 329 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.008495, allocations: 4 kB / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.499e-05/0.00855, allocations: 115.2 kB / 329.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00855, allocations: 3.938 kB / 329.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001361/0.008686, allocations: 12 kB / 329.1 MB, free: 11.04 MB / 298.7 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.0004393/0.009126, allocations: 0.7753 MB / 329.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.00924, allocations: 51.97 kB / 329.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.009242, allocations: 0 / 329.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.009242, allocations: 0 / 329.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.009546, allocations: 103.8 kB / 330 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008582/0.0104, allocations: 1.37 MB / 331.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.113e-05/0.01048, allocations: 105.6 kB / 331.5 MB, free: 8.496 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.157e-05/0.0105, allocations: 0.5 kB / 331.5 MB, free: 8.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.01055, allocations: 36.48 kB / 331.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01055, allocations: 0 / 331.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.02575, allocations: 3.222 MB / 334.8 MB, free: 5.359 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.699/6.725, allocations: 19.73 kB / 334.8 MB, free: 5.34 MB / 298.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.371668573468924]