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.0007273/0.0007273, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007725/0.0007725, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8995/0.8995, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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 1.443e-06/1.443e-06, allocations: 0 / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.02e-05, allocations: 2.281 kB / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001843/0.001864, allocations: 0.9019 MB / 319.3 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003721/0.002236, allocations: 147.5 kB / 319.5 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.002336, allocations: 11.88 kB / 319.5 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.002457, allocations: 15.8 kB / 319.5 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.002609, allocations: 11.94 kB / 319.5 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.00281, allocations: 47.81 kB / 319.6 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.002928, allocations: 63.83 kB / 319.6 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.003057, allocations: 35.97 kB / 319.7 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.536e-05/0.003113, allocations: 39.88 kB / 319.7 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.117e-05/0.003194, allocations: 27.91 kB / 319.7 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.003226, allocations: 4 kB / 319.7 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/0.003238, allocations: 11.94 kB / 319.7 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.003291, allocations: 31.91 kB / 319.8 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.003327, allocations: 23.92 kB / 319.8 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.003464, allocations: 99.55 kB / 319.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.003467, allocations: 0 / 319.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.003467, allocations: 0 / 319.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.003471, allocations: 0 / 319.9 MB, free: 4.91 MB / 282.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.0003812/0.003853, allocations: 337.8 kB / 320.2 MB, free: 4.547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.003889, allocations: 12.92 kB / 320.2 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.003924, allocations: 50.73 kB / 320.3 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.003952, allocations: 12.84 kB / 320.3 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.004131, allocations: 149.5 kB / 320.4 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.004141, allocations: 12.31 kB / 320.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.004152, allocations: 4.375 kB / 320.5 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.004468, allocations: 239.6 kB / 320.7 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.004477, allocations: 192 / 320.7 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.004487, allocations: 384 / 320.7 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.004495, allocations: 8.125 kB / 320.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.922e-05/0.004564, allocations: 51.84 kB / 320.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.004706, allocations: 152.7 kB / 320.9 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.004905, allocations: 135 kB / 321 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.602e-05/0.005002, allocations: 89.03 kB / 321.1 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.005014, allocations: 4 kB / 321.1 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.005038, allocations: 34.5 kB / 321.2 MB, free: 3.504 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.005039, allocations: 0 / 321.2 MB, free: 3.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002694/0.005309, allocations: 177.5 kB / 321.3 MB, free: 3.324 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.005377, allocations: 63.34 kB / 321.4 MB, free: 3.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.005488, allocations: 168.6 kB / 321.6 MB, free: 3.078 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.005503, allocations: 25.7 kB / 321.6 MB, free: 3.047 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.005553, allocations: 100.4 kB / 321.7 MB, free: 2.941 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.005566, allocations: 0 / 321.7 MB, free: 2.941 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.0056, allocations: 29.66 kB / 321.7 MB, free: 2.906 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.005687, allocations: 318.8 kB / 322 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.0057, allocations: 8 kB / 322 MB, free: 2.578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.005723, allocations: 21.7 kB / 322 MB, free: 2.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.859e-05/0.005752, allocations: 21.66 kB / 322.1 MB, free: 2.523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.005755, allocations: 0 / 322.1 MB, free: 2.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.897e-05/0.005814, allocations: 61.58 kB / 322.1 MB, free: 2.457 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.005827, allocations: 8 kB / 322.1 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.005832, allocations: 0 / 322.1 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.005842, allocations: 4.062 kB / 322.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.143e-05/0.005894, allocations: 11.94 kB / 322.2 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.005898, allocations: 0 / 322.2 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.005911, allocations: 0 / 322.2 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.005915, allocations: 0 / 322.2 MB, free: 2.434 MB / 282.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.157e-05/0.005987, allocations: 133.8 kB / 322.3 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.006097, allocations: 141.1 kB / 322.4 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.006126, allocations: 17.12 kB / 322.4 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.006128, allocations: 0 / 322.4 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.006134, allocations: 7.938 kB / 322.4 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.006138, allocations: 7.984 kB / 322.5 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.305e-05/0.006211, allocations: 156.6 kB / 322.6 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.006212, allocations: 0 / 322.6 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.219e-05/0.006274, allocations: 23.98 kB / 322.6 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.006275, allocations: 3.938 kB / 322.6 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.006284, allocations: 12 kB / 322.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.006285, allocations: 0 / 322.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.006287, allocations: 3.938 kB / 322.6 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.006415, allocations: 165 kB / 322.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.006455, allocations: 31.83 kB / 322.8 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.006468, allocations: 0 / 322.8 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.465e-05/0.006482, allocations: 12 kB / 322.9 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-06/0.006485, allocations: 3.938 kB / 322.9 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.006491, allocations: 7.938 kB / 322.9 MB, free: 1.648 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.232e-05/0.006543, allocations: 119.1 kB / 323 MB, free: 1.531 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006543, allocations: 0 / 323 MB, free: 1.531 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001238/0.006667, allocations: 12 kB / 323 MB, free: 1.52 MB / 282.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.0003865/0.007053, allocations: 0.7769 MB / 323.8 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.845e-05/0.007152, allocations: 55.98 kB / 323.8 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.007153, allocations: 0 / 323.8 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.007154, allocations: 0 / 323.8 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.007424, allocations: 99.5 kB / 323.9 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007982/0.008222, allocations: 1.372 MB / 325.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.378e-05/0.008286, allocations: 108.6 kB / 325.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.398e-05/0.0083, allocations: 4.5 kB / 325.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.008342, allocations: 32.62 kB / 325.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.008342, allocations: 0 / 325.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.0249, allocations: 3.226 MB / 328.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/6.987, allocations: 11.88 kB / 328.7 MB, free: 11.85 MB / 298.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.715366429649293]