Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001549/0.001549, allocations: 80.06 kB / 21.19 MB, free: 3.383 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.001473/0.001473, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 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.9979/0.9979, allocations: 173.3 MB / 201.1 MB, free: 9.004 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 268 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.658e-05/4.843e-05, allocations: 2.312 kB / 268 MB, free: 6.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.005439/0.005488, allocations: 1.045 MB / 269.1 MB, free: 5.246 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004323/0.00592, allocations: 147.4 kB / 269.2 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.006021, allocations: 3.938 kB / 269.2 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.006139, allocations: 11.88 kB / 269.2 MB, free: 5.086 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.00626, allocations: 11.86 kB / 269.2 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.006496, allocations: 39.89 kB / 269.3 MB, free: 5.035 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.006622, allocations: 75.77 kB / 269.3 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.00676, allocations: 31.91 kB / 269.4 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.65e-05/0.006817, allocations: 35.91 kB / 269.4 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.772e-05/0.006864, allocations: 15.92 kB / 269.4 MB, free: 4.879 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.006891, allocations: 11.98 kB / 269.4 MB, free: 4.867 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.006904, allocations: 4 kB / 269.4 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003102/0.01001, allocations: 27.91 kB / 269.5 MB, free: 4.836 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.336e-05/0.01006, allocations: 19.94 kB / 269.5 MB, free: 4.816 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.01023, allocations: 63.67 kB / 269.5 MB, free: 4.754 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.01023, allocations: 4 kB / 269.5 MB, free: 4.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01024, allocations: 0 / 269.5 MB, free: 4.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.01024, allocations: 4 kB / 269.6 MB, free: 4.746 MB / 250.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.0004607/0.0107, allocations: 432.1 kB / 270 MB, free: 4.285 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.01074, allocations: 8.031 kB / 270 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.416e-05/0.01081, allocations: 24.83 kB / 270 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.01102, allocations: 152 kB / 270.2 MB, free: 4.082 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.01103, allocations: 8.312 kB / 270.2 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.01104, allocations: 8.375 kB / 270.2 MB, free: 4.066 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.01136, allocations: 180.2 kB / 270.3 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.01137, allocations: 4.188 kB / 270.3 MB, free: 3.875 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.01139, allocations: 4.125 kB / 270.4 MB, free: 3.871 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.01139, allocations: 0 / 270.4 MB, free: 3.871 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.937e-05/0.01144, allocations: 19.98 kB / 270.4 MB, free: 3.852 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.01157, allocations: 144.4 kB / 270.5 MB, free: 3.676 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.01175, allocations: 103.1 kB / 270.6 MB, free: 3.562 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.01187, allocations: 52.03 kB / 270.7 MB, free: 3.508 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.01188, allocations: 4 kB / 270.7 MB, free: 3.504 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.01191, allocations: 33.39 kB / 270.7 MB, free: 3.461 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.01191, allocations: 0 / 270.7 MB, free: 3.461 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002313/0.01214, allocations: 129.2 kB / 270.8 MB, free: 3.332 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.01219, allocations: 67.3 kB / 270.9 MB, free: 3.254 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.01231, allocations: 197.9 kB / 271.1 MB, free: 3.043 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.01232, allocations: 25.7 kB / 271.1 MB, free: 3.012 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.01238, allocations: 143.1 kB / 271.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.01239, allocations: 7.984 kB / 271.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.01243, allocations: 23.38 kB / 271.3 MB, free: 2.824 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.01263, allocations: 496.1 kB / 271.8 MB, free: 2.328 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.01265, allocations: 7.984 kB / 271.8 MB, free: 2.32 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.595e-05/0.01268, allocations: 23.38 kB / 271.8 MB, free: 2.289 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.853e-05/0.01272, allocations: 19.38 kB / 271.8 MB, free: 2.262 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01272, allocations: 0 / 271.8 MB, free: 2.262 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.003113/0.01583, allocations: 57.58 kB / 271.9 MB, free: 2.199 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.01585, allocations: 4.062 kB / 271.9 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.01586, allocations: 11.94 kB / 271.9 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.01589, allocations: 0 / 271.9 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.01595, allocations: 8 kB / 271.9 MB, free: 2.176 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.01595, allocations: 0 / 271.9 MB, free: 2.176 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.01598, allocations: 11.94 kB / 271.9 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.01598, allocations: 0 / 271.9 MB, free: 2.164 MB / 250.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: 0 () * 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 0.0001066/0.01609, allocations: 164.5 kB / 272.1 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.01623, allocations: 101.5 kB / 272.2 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/0.01628, allocations: 21.06 kB / 272.2 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01628, allocations: 0 / 272.2 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.01629, allocations: 8 kB / 272.2 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.01629, allocations: 3.984 kB / 272.2 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.681e-05/0.01639, allocations: 136.5 kB / 272.3 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01639, allocations: 0 / 272.3 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.404e-05/0.01647, allocations: 27.98 kB / 272.4 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01648, allocations: 3.938 kB / 272.4 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.01648, allocations: 0 / 272.4 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.01649, allocations: 7.938 kB / 272.4 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.01649, allocations: 3.984 kB / 272.4 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.01666, allocations: 144.5 kB / 272.5 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.01671, allocations: 23.83 kB / 272.5 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.01674, allocations: 8 kB / 272.5 MB, free: 1.449 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.96e-05/0.01676, allocations: 7.938 kB / 272.6 MB, free: 1.441 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-06/0.01676, allocations: 0 / 272.6 MB, free: 1.441 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.01677, allocations: 4 kB / 272.6 MB, free: 1.438 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.737e-05/0.01683, allocations: 150.2 kB / 272.7 MB, free: 1.293 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01683, allocations: 0 / 272.7 MB, free: 1.293 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001946/0.01703, allocations: 12 kB / 272.7 MB, free: 1.281 MB / 250.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: 0 () * 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.0001121/0.01714, allocations: 103.2 kB / 272.8 MB, free: 1.172 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.01726, allocations: 43.19 kB / 272.9 MB, free: 1.129 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01726, allocations: 0 / 272.9 MB, free: 1.129 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.01726, allocations: 0 / 272.9 MB, free: 1.129 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.01759, allocations: 67.81 kB / 272.9 MB, free: 1.062 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.01796, allocations: 226.5 kB / 273.1 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.01817, allocations: 75.33 kB / 273.2 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.12e-05/0.01819, allocations: 8.484 kB / 273.2 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.01822, allocations: 12.5 kB / 273.2 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01822, allocations: 0 / 273.2 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of Templates: time 0.006326/0.02455, allocations: 0.991 MB / 274.2 MB, free: 15.71 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.921774899121374]